Skip to content

Commit

Permalink
fix(permissions): add missing permission strings (#630)
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Apr 18, 2023
1 parent 222d50e commit 23645bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions src/preconditions/ClientPermissions.ts
Expand Up @@ -131,6 +131,7 @@ export class CorePrecondition extends AllFlowsPrecondition {
ManageEmojisAndStickers: 'Manage Emojis and Stickers',
ManageEvents: 'Manage Events',
ManageGuild: 'Manage Server',
ManageGuildExpressions: 'Manage Guild Expressions',
ManageMessages: 'Manage Messages',
ManageNicknames: 'Manage Nicknames',
ManageRoles: 'Manage Roles',
Expand All @@ -143,18 +144,21 @@ export class CorePrecondition extends AllFlowsPrecondition {
PrioritySpeaker: 'Priority Speaker',
ReadMessageHistory: 'Read Message History',
RequestToSpeak: 'Request to Speak',
SendMessagesInThreads: 'Send Messages in Threads',
SendMessages: 'Send Messages',
SendMessagesInThreads: 'Send Messages in Threads',
SendTTSMessages: 'Send TTS Messages',
Speak: 'Speak',
UseEmbeddedActivities: 'Start Activities',
Stream: 'Stream',
UseApplicationCommands: 'Use Application Commands',
UseEmbeddedActivities: 'Start Activities',
UseExternalEmojis: 'Use External Emojis',
UseExternalSounds: 'Use External Sounds',
UseExternalStickers: 'Use External Stickers',
UseSoundboard: 'Use Soundboard',
UseVAD: 'Use Voice Activity',
ViewAuditLog: 'View Audit Log',
ViewChannel: 'Read Messages',
ViewCreatorMonetizationAnalytics: 'View Creator Monetization Analytics',
ViewGuildInsights: 'View Guild Insights'
};
}
6 changes: 3 additions & 3 deletions yarn.lock
Expand Up @@ -2296,9 +2296,9 @@ __metadata:
linkType: hard

"discord-api-types@npm:^0.37.37, discord-api-types@npm:^0.37.38":
version: 0.37.38
resolution: "discord-api-types@npm:0.37.38"
checksum: 58972778639234307ae6c0ce5b841a8a3a29c38116aa9f96051e65a88f6bbc4f1df671c5a985712d816764507308f8ebc97b1c98dad8de7bf756e05819db84ca
version: 0.37.39
resolution: "discord-api-types@npm:0.37.39"
checksum: 21346afd1e9987bba9b8e93c51b4a4279c10ffd3251806800385b19631c9f258f26524857b6f88da995285f35f0d956b3dde2e1ed6eb5233e5b2122754fbaee7
languageName: node
linkType: hard

Expand Down

0 comments on commit 23645bb

Please sign in to comment.