Skip to content

feat: add missing perms #1374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions interactions/models/discord/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,14 @@ class Permissions(DiscordIntFlag): # type: ignore
"""Allows for using Activities (applications with the `EMBEDDED` flag) in a voice channel"""
MODERATE_MEMBERS = 1 << 40
"""Allows for timing out users to prevent them from sending or reacting to messages in chat and threads, and from speaking in voice and stage channels"""
VIEW_CREATOR_MONETIZATION_ANALYTICS = 1 << 41
"""Allows for viewing guild monetization insights"""
USE_SOUNDBOARD = 1 << 42
"""Allows for using the soundboard in a voice channel"""
CREATE_GUILD_EXPRESSIONS = 1 << 43
"""Allows for creating emojis, stickers, and soundboard sounds"""
USE_EXTERNAL_SOUNDS = 1 << 45
"""Allows the usage of custom sounds from other servers"""

# Shortcuts/grouping/aliases
REQUIRES_MFA = (
Expand Down