![]() ![]() If your bot is not verified and in less than 100 guilds, you can enable privileged gateway intents in the Discord Developer Portal open in new window under "Privileged Gateway Intents" in the "Bot" section. At the time of writing this article, privileged intents are GUILD_PRESENCES and GUILD_MEMBERS. ![]() ![]() # Privileged IntentsÄiscord defines some intents as "privileged" due to the data's sensitive nature. If you provide no intents, discord.js will throw an error. If you omit DIRECT_MESSAGE_TYPING, for example, you will no longer receive typing events from direct messages. Intents are named groups of pre-defined WebSocket events, which the discord.js client will receive. Gateway Intents were introduced by Discord so bot developers can choose which events their bot receives based on which data it needs to function.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |