#Issue with message content

1 messages · Page 1 of 1 (latest)

paper scaffold
#

Hi. I've been following the tutorials on the website, but I'm running into an issue.
Here's what I sent
yet HasCharPrefix returns false, and I can't seem to find the message's text content anywhere in my SocketUserMessage object

oblique lily
#

You need to enable message content intent in both dev portal & socket config

paper scaffold
#

hmm, anywhere I can find how to do this ?

neat falcon
#

And in DiscordSocketConfig in code

paper scaffold
#

found it in dev portal, but not sure about socket config

neat falcon
#

Show your initializing DiscordSocketClient

paper scaffold
neat falcon
#

GatewayIntents = MessageContent | ....others

#

Its about intents

paper scaffold
#

thanks 🙂