Discord bot unresponsive
dimitriarm
FREEOP

5 months 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

$10 Bounty

1 Replies

hyper674
PRO

4 months 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?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...