❔ I wrote a discord bot but it's not answering me ?
Is there any wrong code or something else? And if there's no bug's in code maybe I couldn't authorize my bot to server. Do you guys know any tutorial for this or can you guys teach me how to add?
4 Replies
Regenerate the bot token immediately
As now it has been exposed in a public discord, in a public channel.
You need
DiscordIntents.MessageContents
in the intents too. So it would be DiscordIntents.AllUnprivileged | DiscordIntents.MessageContents
.
Also do what the guy above me said lolYou also need message content enabled in the bot portal
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.