Discord bot unresponsive
dimitriarm
FREEOP
a month ago
I have created a discord bot to moderate discussions
The bot turns on but then I get this
Starting Container
last line run before exit
[2026-01-28 22:32:07] [INFO ] discord.client: logging in using static token
[2026-01-28 22:32:08] [INFO ] discord.gateway: Shard ID None has connected to Gateway (Session ID: 68086effc96499d268d48542a7b9ff3d).
Logged in as TestBot#9258
Stopping Container
I don’t know why the container stops, or why it doesn’t do anything on the discord end, everything seems fine
1 Replies
hyper674
PRO
a month ago
Make sure you're using bot.run() or client.run() at the end of your script (NOT await bot.start()):
Can you share your main bot file? Specifically the last 10-15 lines where you start the bot?