Skip to content

Commit

Permalink
chore: sort permissions alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
rubyowo committed Jun 2, 2024
1 parent 9aca2d5 commit e34690f
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions backend/src/utils/permissionNames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ export const PERMISSION_NAMES = {
BanMembers: "Ban Members",
ChangeNickname: "Change Nickname",
Connect: "Connect",
CreateEvents: "Create Events",
CreateGuildExpressions: "Create Expressions",
CreateInstantInvite: "Create Invite",
CreatePrivateThreads: "Create Private Threads",
CreatePublicThreads: "Create Public Threads",
Expand All @@ -16,40 +18,37 @@ export const PERMISSION_NAMES = {
KickMembers: "Kick Members",
ManageChannels: "Manage Channels",
ManageEmojisAndStickers: "Manage Emojis and Stickers",
ManageEvents: "Manage Events",
ManageGuild: "Manage Server",
ManageGuildExpressions: "Manage Expressions",
ManageMessages: "Manage Messages",
ManageNicknames: "Manage Nicknames",
ManageRoles: "Manage Roles",
ManageThreads: "Manage Threads",
ManageWebhooks: "Manage Webhooks",
MentionEveryone: `Mention @${EMPTY_CHAR}everyone, @${EMPTY_CHAR}here, and All Roles`,
ModerateMembers: "Moderate Members",
MoveMembers: "Move Members",
MuteMembers: "Mute Members",
PrioritySpeaker: "Priority Speaker",
ReadMessageHistory: "Read Message History",
RequestToSpeak: "Request to Speak",
SendMessages: "Send Messages",
SendMessagesInThreads: "Send Messages in Threads",
SendPolls: "Create Polls",
SendTTSMessages: "Send Text-To-Speech Messages",
SendVoiceMessages: "Send Voice Messages",
Speak: "Speak",
UseEmbeddedActivities: "Start Embedded Activities",
Stream: "Video",
UseApplicationCommands: "Use Application Commands",
UseEmbeddedActivities: "Start Embedded Activities",
UseExternalEmojis: "Use External Emoji",
UseExternalSounds: "Use External Sounds",
UseExternalStickers: "Use External Stickers",
UseSoundboard: "Use Soundboard",
UseVAD: "Use Voice Activity",
ViewAuditLog: "View Audit Log",
ViewChannel: "View Channels",
ViewGuildInsights: "View Guild Insights",
ModerateMembers: "Moderate Members",
ManageEvents: "Manage Events",
ManageGuildExpressions: "Manage Expressions",
SendVoiceMessages: "Send Voice Messages",
UseExternalSounds: "Use External Sounds",
UseSoundboard: "Use Soundboard",
ViewCreatorMonetizationAnalytics: "View Creator Monetization Analytics",
SendPolls: "Allows Sending Polls",
CreateEvents: "Allows for creating scheduled events, and editing and deleting those created by the current user.",
CreateGuildExpressions:
"Allows for creating emojis, stickers, and soundboard sounds, and editing and deleting those created by the current user.",
ViewGuildInsights: "View Guild Insights",
} as const satisfies Record<keyof typeof PermissionFlagsBits, string>;

0 comments on commit e34690f

Please sign in to comment.