#How can i enable message intents?

1 messages · Page 1 of 1 (latest)

simple gust
#

I tried this:

intents.messages

But i didn't work

wispy ploverBOT
#
Too Many Tags

Please use either the disnake or python tag, but not both. If your question pertains to disnake, please use the disnake tag. If your question is a general python question that does not depend on disnake, please use the python tag.
I've taken a guess based on the contents of your message which your question is actually about.

If you believe this to be in error, please let us know.

normal fjord
#

intents.message_content

#

Or what do you want

cloud shellBOT
#

class disnake.Intents(value=None, **kwargs)```
Wraps up a Discord gateway intent flag.

Similar to [`Permissions`](https://docs.disnake.dev/page/api.html#disnake.Permissions "disnake.Permissions"), the properties provided are two way. You can set and retrieve individual bits using the properties as if they were regular bools.

To construct an object you can pass keyword arguments denoting the flags to enable or disable. Arguments are applied in order, similar to [`Permissions`](https://docs.disnake.dev/page/api.html#disnake.Permissions "disnake.Permissions").

This is used to disable certain gateway features that are unnecessary to run your bot. To make use of this, it is passed to the `intents` keyword argument of [`Client`](https://docs.disnake.dev/page/api.html#disnake.Client "disnake.Client").

New in version 1.5.
simple gust
#

thanks

#

works now