Skip to content

fix(intents): stop requesting privileged intents - #112

Merged
Lindwen merged 1 commit into
masterfrom
chore/drop-privileged-intents
Sep 27, 2026
Merged

Lindwen merged 1 commit into
masterfrom
chore/drop-privileged-intents

Conversation

@AntoineJT

@AntoineJT AntoineJT commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

Discord revoked the privileged intents on the prod app: the gateway now closes with 4014 (PrivilegedIntentsRequired) and the bot can't start.

message_content (which was granted on the developer portal) was never actually requested — Intents.default() excludes it. The JD4H listener only reads message metadata (author, channel, timestamp), and there are no prefix commands.

members only warmed the member cache for three get_member() calls in rngdle.py, which all already fell back to get_or_fetch_user(). They now call it directly, like the rest of the cog, and get a User instead of a Member — the leaderboards render .name and .mention, both of which exist on User.

Discord revoked the privileged intents on the prod app: the gateway now
closes with 4014 (PrivilegedIntentsRequired) and the bot can't start.

`message_content` (which was granted on the developer portal) was never
actually requested — Intents.default() excludes it. The JD4H listener
only reads message metadata (author, channel, timestamp), and there
are no prefix commands.

`members` only warmed the member cache for three get_member() calls in
rngdle.py, which all already fell back to get_or_fetch_user(). They now
call it directly, like the rest of the cog, and get a User instead of a
Member — the leaderboards render .name and .mention, both of which
exist on User.
@AntoineJT
AntoineJT force-pushed the chore/drop-privileged-intents branch from 95b3416 to 5953468 Compare September 27, 2026 09:53
@AntoineJT
AntoineJT removed the request for review from Lindwen September 27, 2026 09:54
@Lindwen
Lindwen merged commit bb56c9b into master Sep 27, 2026
5 checks passed
@Lindwen
Lindwen deleted the chore/drop-privileged-intents branch September 27, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants