#do you have the messagecontent intent
1 messages · Page 1 of 1 (latest)
yeah
also defined partials but I don't completely understand this
discordClient = new discord.Client({ intents: [
GatewayIntentBits.Guilds |
GatewayIntentBits.GuildMessages |
GatewayIntentBits.MessageContent |
GatewayIntentBits.GuildMembers |
GatewayIntentBits.GuildPresences |
GatewayIntentBits.GuildMemberAdd |
GatewayIntentBits.GuildMemberRemove
], partials: [
Partials.Message,
Partials.Channel,
Partials.Reaction
] });
show your messagecreate handler
why are there | instead of , ?
you dont have the DirectMessages intent
yeah I was wondering if that was correct, because they are flags I used |
is it an array so I should use commas?
its a , not a |
i've seen it being used before iirc, shouldnt really matter
oh
@zenith thorn
it crashes immediately with commas
Ohhh