The setting is empty or your code reads a different name
Fill in Discord bot token and read DISCORD_TOKEN
Permission errors
Message
Meaning
Fix
DiscordAPIError[50001]: Missing Access
The bot cannot see that channel or server
Give the bot access to the channel, or check it was invited with the bot scope
DiscordAPIError[50013]: Missing Permissions
The bot lacks a permission, or its role is too low
Add the permission, and move the bot's role above the roles it manages
Cannot send messages to this user (50007)
The user has direct messages closed
Handle it in your code and tell them in the channel instead
Interaction errors
Message
Meaning
Fix
Unknown interaction (10062)
The bot took more than 3 seconds to answer a slash command
Reply or defer straight away, then follow up
Interaction has already been acknowledged
You replied twice
Reply once, then use a follow-up
Unknown Message (10008) / Unknown Channel (10003)
The message or channel was deleted
Check it exists before using it
Rate limits and connection errors
429 Too Many Requests: your bot is sending too fast. The library normally waits and retries by itself; reduce loops that edit many messages or add many reactions.
ECONNRESET, Connect Timeout Error, getaddrinfo: a short network problem between the bot and Discord. A good library reconnects. If it never recovers, restart the server.
Cannot find module 'x' means a package is missing: add it to package.json (or the Extra npm packages field). ModuleNotFoundError: No module named 'x' means a line is missing from requirements.txt. For a server that stops by itself see Why your Discord bot keeps stopping.
ERSTELLE DEINEN SPIELESERVER BEREIT, LOSZULEGEN?
Spare bis zu 30% auf deinen neuen Gameserver. Premium-Performance, sofortige Aktivierung und unschlagbare Zuverlässigkeit. Alles zum besseren Preis.