2 About Privileged Intents
Mrcoolgamer11 edited this page 2026-11-22 16:07:10 +00:00

This page is generated from docs/intents.rst - please edit the source file instead of this page.

About Privileged Intents

WARNING

It is very important that you fully read this page before applying for Privileged Intents.

If you plan on (or already are) using Red for hosting a public bot (a bot that can be invited by any user), you should read About public (big) bots as well.

If your bot is accessible to 10,000 or more users across all the servers it's in, Discord will ask you to submit a request for review of your bot's use of the Privileged Intents.
If your bot does not have that many users, you can simply follow these instructions to enable them.

If your bot ever reaches the 10,000-user threshold, you will receive an official message from Discord in a direct message (DM) on Discord and in an e-mail message sent to the user that owns the bot application. This should generally happen within 24 hours of your bot reaching this threshold.

In its default (highly recommended) configuration, Red requires enabling the Guild (Server) Members Intent and Message Content Intent.
Guild Members Intent is especially important as a large number of cogs, both 1st-party and 3rd-party are not prepared to work without it, even in cases where they theoretically could. Such cogs may either not work as expected or completely error out.
User experience without the Message Content Intent is also considerably worse as it prevents use of bot's text-based commands using bot's prefix outside DMs. Instead, users have to use the bot mention as the prefix to use the text-based commands. It's worth noting that Discord does not consider this specific use case to be valid during Privileged Intents review and you should avoid using it as justification anywhere in your request.
For both of these Privileged Intents, there are a lot of use cases that Discord will consider valid, including some in core cogs. The use cases from core cogs can be found in the sample answers listed in the How to apply for Privileged Intents? section.

What about the privacy policy?

If you've already looked at the form for requesting Privileged Intents already, you might have noticed that it asks for a privacy policy. Per Discord Developer Terms of Service, Discord requires that you:

provide and adhere to a privacy policy for your Application that is compliant with applicable privacy laws and clearly, accurately, and fully describes to users of your Application what data you collect, how you use and share such data with us and third parties, and how users can request deletion of such data.

While we do provide some guidance and samples, you should keep in mind that in the end, you are the one responsible for the privacy policy you've published and need to ensure yourself that you're compliant with Discord Developer Terms of Service and any applicable laws.

The privacy policy needs to be hosted somewhere on the Internet. To make it easy for you, we provide a simple GitHub repository template that you can use to generate a repository that GitHub can turn into a live website for you with no separate hosting necessary.

The repository also comes with a sample privacy policy in the index.md file which describes data collected by Red's core cogs and can be used as a starting point for your own instance. This file is hosted as the main page on the generated GitHub Pages website.

The sample privacy policy also links to the 3rd-party.html file for information about data that's collected in addition to what's described in the main document. You can generate the 3rd-party.html file for your own bot by running its [p]mydata 3rdparty command and uploading its result to the repository you created. This will be explained in the step-by-step instructions that are provided once you generate a repository from our template per instructions in the next section.

How to use the privacy policy repository template?

  1. Login to your GitHub account or register at https://github.com/signup, if you don't have an account already.
  2. Go to https://github.com/Cog-Creators/Red-Privacy-Policy/generate.
  3. Set a name for the repository. This name should probably contain something identifying the specific bot that this policy will apply to as a single repository created from this template can only represent one bot.
  4. Keep visibility set to "Public".
  5. Click on "Create repository".
  6. After the repository is created, you'll be presented with the repository page. Wait about 20 seconds, then refresh the page. You should now see a new README page.
  7. Continue by following the step-by-step instructions in the new repository's README.

How can I know how my instance's cogs use the Privileged Intents?

When applying for Privileged Intents, you'll be asked to explain why your bot needs each of them and whether it stores any data off-platform (outside Discord). Additionally, in order to write a privacy policy, you also need to know what user data your bot stores.

Unless you happen to be interested in software development and have read code of all cogs you have installed, you may not really know how it works under the hood - what data those cogs store, what intents they need to function, and why. That's completely fine! Red has always been designed not to require technical knowledge and this is no different.

When it comes to core cogs, the Privileged Intent use cases are described in the sample answers listed in the How to apply for Privileged Intents? section. The information about data that is collected by Red and its core cogs is provided in the Red and End User Data document and we also provide a sample privacy policy as we've described already in the earlier What about the privacy policy? section.

When it comes to 3rd-party cogs, we've also got you covered! Red allows cogs to specify a statement explaining what end user data the cog is storing and statements explaining the reasons that they need each Privileged Intent for.

The end user data statements can be accessed in a few ways:

  • before installing the cog through the [p]cog info command or on the Red Index listing
  • for loaded cogs, all available statements are listed by the [p]mydata 3rdparty command

The statements explaining the reasons that each Privileged Intent is needed can be accessed as follows:

  • before installing the cog through the [p]cog info command or on the Red Index listing
  • for cogs installed through Downloader, [p]cog intents command can be used to list statements grouped by the Privileged Intent and whether they refer to an intent that is required for the cog to function or just to provide some of its features

By reading the information provided in the aforementioned statements, you should have a better grasp of what functionality of the cogs requires these intents which should help you list the use cases when applying for Privileged Intents and create necessary screenshots/videos.

It should also be noted that you are not required to list all the features that your bot uses each of the Privileged Intents for - you need at least one motivating use case for each intent and you should make sure that this use case is described thoroughly and properly demonstrated through screenshots and/or videos.

If you're unsure how to answer any of the questions in the review, feel free to ask in the Red support server. If Discord rejected your request already, we'd also love to learn about your experience to hopefully improve this document for others in the future.

How to apply for Privileged Intents?

  1. Go to the Discord Developer Portal. You should see a notification about required Privileged Intents approval at the top: The "Action Required" notification about Privileged Intents approval in the application list.
  2. Click on the notification to open that application's Bot page.
  3. Click the "Get Started" button: The "Action Required" notification about Privileged Intents approval on the application's Bot tab.

Below you'll find sample answers for the questions in the review. Please note that these answers are based on our interpretation of Discord's requirements and, while we've successfully used them to receive the intents ourselves, it is not guaranteed that your application will be approved when using these verbatim. Depending on what core features of Red and what 3rd-party you are using, you might have to use different examples from the ones we've provided. See the earlier How can I know how my instance's cogs use the Privileged Intents? section for more information about that.

TIP

If you need to create screenshots/videos with the example use of the Privileged Intents required by your bot but you already lost access to those Privileged Intents, you may need to create a second bot application and a Red instance that you only invite to a small server to be able to present those examples.

Application Details

"What does your application do? Please be as detailed as possible [...]"

Red is a multi-function bot that allows its users to:

  • carry out moderation actions (warnings, kick, ban, softban, hackban, chat cleanup, viewing information about members)
  • keep records of infractions through its moderation log
  • perform automated moderation actions - message, nickname, and user status filtering/warning
  • maintain a user report system for their server (mod-mail)
  • play games with others - trivia, slots
  • play music in voice channels from online audio streams
  • configure stream alerts (Twitch, YouTube, Picarto)
  • setup custom commands in servers that display text (e.g. FAQ answers) which other users can run
    This is a self-hosted instance of the following open-source bot:
    https://github.com/Cog-Creators/Red-DiscordBot

Do you have a public Privacy Policy telling your users about their data usage?

Yes

Where is your Privacy Policy available?

The link to privacy policy is included within the bot's bio.

https://example.github.io/link-to-your-privacy-policy/

Privileged Gateway Intents

Which intents are you applying for, if any?

☑️ Server Members Intent
⬛ Presence Intent
☑️ Message Content Intent

Server Members Intent

Why do you need the Guild Members intent?

The bot has a few features that depend on guild member data:

  • tracking when user's username, global display name, or nickname changes to keep a short history of them that can be viewed by server staff
  • tracking when member rejoins a server to reapply relevant roles to them
  • auto-moderation of user's nicknames

Example use of a command that shows member's previous names:
https://docs.discord.red/en/stable/intent-examples/userinfo-previous-names.png
Example from audit log of roles being applied on rejoin:
https://docs.discord.red/en/stable/intent-examples/mutes-role-reapply-audit-log.png

Are you storing any API Data off-platform (outside of Discord)?

Yes

Are you storing API Data for 30 days or less?

No

How do users contact you to request deletion of their activity data?

Contact details are included as part of the bot's privacy policy:
https://example.github.io/link-to-your-privacy-policy/

Are you encrypting the data that you store at rest, as is required by our developer policy?

Yes

Message Content Intent

Can users opt-out of having their message content data tracked?

No

Are you storing message content data off-platform (outside of Discord)?

No

Will the message content data be used to train machine learning or AI Models?

No

Why do you need the Message Content intent?

The bot includes features that allow users to cleanup messages in a channel. Some of those commands have to filter by the message's content:

  • cleaning up spam (duplicate messages sent recently in a channel)
  • cleaning up messages containing the specified text

Other features that also need the message content intent include automatic message moderation - in particular, preventing a user from spamming the same message many times which Discord's AutoMod does not reliably block when using the "Block Suspected Spam Content" rule.

Example of cleaning duplicated messages manually by a moderator:
https://docs.discord.red/en/stable/intent-examples/cleanup-spam-example-before.png
https://docs.discord.red/en/stable/intent-examples/cleanup-spam-example-triggered.png
https://docs.discord.red/en/stable/intent-examples/cleanup-spam-example-after.png
Example of cleaning messages containing specified text:
https://docs.discord.red/en/stable/intent-examples/cleanup-text-example-before.png
https://docs.discord.red/en/stable/intent-examples/cleanup-text-example-triggered.png
https://docs.discord.red/en/stable/intent-examples/cleanup-text-example-after.png


What about the (Guild) Presences Intent?

Red's core cogs do not require the Guild Presences Intent and as such we do not include any sample answers for the questions about it. This intent is required to view the activities and statuses of users. Cogs which perform actions on users based on their activity or status will be unable to access this information if this intent is not enabled.

There are a few 3rd-party cogs whose functionality depends on this intent to be enabled. If authors of those cogs list them as required, the Downloader will not let you install them without enabling the Privileged Intent first, as explained in the How to change my instance's enabled Privileged Intents? section.
The cog authors can also provide a statement with the reason that a Privileged Intent is needed, you can use it to figure out what to say when applying for it.

While the use cases for the Guild Presences Intent are different from the Guild Members Intent, the questions for the Guild Presences Intent are analogous to the questions about the Guild Members Intent:

  • Why do you need the Guild Presences intent?

    You'll need to include a description of relevant features from 3rd-party cogs you are using that require the Guild Presences Intent.

  • Please provide links to screenshots and/or videos that demonstrate your use case

    You'll need to include links to a few screenshots or a video presenting the relevant features from 3rd-party cogs you are using that require the Guild Presences Intent.

  • Can users opt-out of having their Presence data tracked? If the user can opt-out (which in case of some 3rd-party cogs, they can), answer "Yes".
    If they can't, answer "No".
    If you think the user can opt-out, it's best to test that it actually works as expected before applying.

  • Are you storing user activity data off-platform (outside of Discord)?

    If yes, you'll also need to the same extra questions as the ones that were asked for the Guild Members Intent - for this part, you just need to enter the exact same answers as you did for that intent since these questions are not specific to the Guild Presences Intent:

How to change my instance's enabled Privileged Intents?

There are a few reasons to want to change the Privileged Intents that are enabled on your instance:

  • One of the 3rd-party cogs you want to use requires the Guild Presences Intent to provide some or all of its functionality.
  • You were denied some of the Privileged Intents you requested that are needed by your bot.
  • You did not apply for the Privileged Intents before the request was due.
  • Your request for Privileged Intents that you were previously denied has been approved.

Below you'll find instructions on how to change your instance's enabled Privileged Intents.

ATTENTION

Before enabling Privileged Intents that were previously disabled on your instance, make sure that they are enabled on Discord's application page as explained in Enabling Privileged Intents.

Windows

To change your instance's enabled Privileged Intents, you can follow these steps:

  1. Shut your bot down.

  2. Activate your venv with the following command:

    C:\> "%userprofile%\redenv\Scripts\activate.bat"
    
  3. Edit your instance with this command:

    (redenv) C:\> redbot --edit <your instance name>
    

    You'll be asked several questions. One of them will be about changing the enabled Privileged Intents, answer "yes" to it and then answer "yes" to questions about the intents whose current state you want to change:

    Guild Presences privileged intent is currently disabled. Do you want to enable it?: [y/N] y
    Guild Presences privileged intent has been enabled.
    Guild Members privileged intent is currently enabled. Do you want to disable it?: [y/N]
    Message Content privileged intent is currently enabled. Do you want to disable it?: [y/N]
    
  4. After you finish with the redbot --edit command, start your bot.

Linux & Mac

To change your instance's enabled Privileged Intents, you can follow these steps:

  1. Shut your bot down.

  2. Activate your virtual environment.

    If you used venv for your virtual environment, use:

    $ source ~/redenv/bin/activate
    
  3. Edit your instance with this command:

    (redenv) $ redbot --edit <your instance name>
    

    You'll be asked several questions. One of them will be about changing the enabled Privileged Intents, answer "yes" to it and then answer "yes" to questions about the intents whose current state you want to change:

    Guild Presences privileged intent is currently disabled. Do you want to enable it?: [y/N] y
    Guild Presences privileged intent has been enabled.
    Guild Members privileged intent is currently enabled. Do you want to disable it?: [y/N]
    Message Content privileged intent is currently enabled. Do you want to disable it?: [y/N]
    
  4. After you finish with the redbot --edit command, start your bot.