Skip to content

Discord bot #8622

Closed Answered by almostSouji
Preguiii asked this question in Q&A
Discussion options

You must be logged in to vote

You will need to send and enable the Guilds, GuildMessages and MessageContent intents in order to receive the "messageCreate" event.
If you have that, check if the event even emits. Otherwise, put logs or debug breakpoints throughout your code to find out where execution stops and inspect the environment there (log or inspect relevant conditions and variables).

More on intents: https://discordjs.guide/popular-topics/intents.html

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Jiralite
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants