why i use message.content it will return null for me ?? #7708
Answered
by
SebbyLaw
mansan1230
asked this question in
Q&A
-
how can i get the content of a message ?? |
Beta Was this translation helpful? Give feedback.
Answered by
SebbyLaw
Mar 17, 2022
Replies: 1 comment 2 replies
-
When using current builds of version 2.0, you must manually opt into the message content intent: intents = discord.Intents.default()
intents.message_content = True
bot = commands.Bot(..., intents=intents) Or similar is required. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Rapptz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using current builds of version 2.0, you must manually opt into the message content intent:
Or similar is required.