Skip to content

Commit d3ef4fd

Browse files
committed
add addr for localhost
1 parent 23da68f commit d3ef4fd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bot/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ def start_prometheus_server():
6565
print("Prometheus server started on port 8000")
6666

6767
if __name__ == '__main__':
68-
start_prometheus_server()
68+
6969
# Run the bot with the specified token
7070
bot.run(DISCORD_TOKEN)

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ def run():
2222
bot.load_extension('bot.news_feed')
2323
# bot.load_extension('bot.moderation') Turning off because it's not working
2424
# Start the bot
25+
bot.start_prometheus_server()
2526
bot.run(DISCORD_TOKEN)

0 commit comments

Comments
 (0)