Message content intent tag#2566
Conversation
Co-authored-by: Robin <74519799+Robin5605@users.noreply.github.com>
Co-authored-by: Robin <74519799+Robin5605@users.noreply.github.com>
Robin5605
left a comment
There was a problem hiding this comment.
Last few changes. I think the codeblock example is probably the most important, since it actually shows how users can enable message content intent themselves rather than knowing how it works conceptually
Co-authored-by: Robin <74519799+Robin5605@users.noreply.github.com>
Co-authored-by: Robin <74519799+Robin5605@users.noreply.github.com>
Co-authored-by: Robin <74519799+Robin5605@users.noreply.github.com>
wookie184
left a comment
There was a problem hiding this comment.
Could you rename the file to message-content-intent.md to make it clearer. You can add an alias so the tag can be invoked with the shorter version (see for example https://github.com/python-discord/bot/blob/main/bot/resources/tags/underscore.md)
Co-authored-by: wookie184 <wookie1840@gmail.com>
| intents.message_content = True # enable message content intents | ||
|
|
||
| bot = commands.Bot(command_prefix="!", intents=intents) # actually pass it into the constructor | ||
| ``` |
There was a problem hiding this comment.
I think mentioning other relevant tags at the end would be helpful
| ``` | |
| ``` | |
| For more information on intents, see `/tag intents`. If prefix commands are still not working, see `/tag on-message-event`. |
There was a problem hiding this comment.
Speaking of the intents tag, I've just noticed there is a lot of overlap between it and this, maybe we could differentiate the two a bit more?
There was a problem hiding this comment.
Thats a good point. I think the beginning is important to have, but maybe removing the part about the privilaged intents, and linking it would be useful. Also, incorporating the fact that you do have to enable it in the discord developer portal at the beginning. Does that sound good?
There was a problem hiding this comment.
That sounds good to me. I think the intents tag can also be improved (primarily the length because it is very wordy at the moment) but it would be better addressed in a separate PR.
Co-authored-by: Daniel Gu <daniel.gu25@stu.dulwich.org>
Part of site#695
Includes the tag for the message content intent, describing use case and importance.