fix perms

This commit is contained in:
Mathium05
2026-07-29 13:12:02 -05:00
parent 82180be417
commit a5cfdb0de0
2 changed files with 7 additions and 2 deletions
+3
View File
@@ -36,6 +36,7 @@ class Permissions {
//private static info: { name: string; readableName: string; description: string }[];
static *info(): Generator<{name: string; readableName: string; description: string}> {
for (const thing of this.permisions) {
if (!thing) continue;
yield {
name: thing,
readableName: I18n.permissions.readableNames[thing](),
@@ -91,6 +92,8 @@ class Permissions {
"CREATE_EVENTS",
"USE_EXTERNAL_SOUNDS",
"SEND_VOICE_MESSAGES",
null, //TODO unused
"SET_VOICE_CHANNEL_STATUS",
"SEND_POLLS",
"USE_EXTERNAL_APPS",
"PIN_MESSAGES",
+4 -2
View File
@@ -740,7 +740,8 @@
"REQUEST_TO_SPEAK": "Allows role members to request to speak in stage channels.",
"USE_EMBEDDED_ACTIVITIES": "Allows role members to use embedded activities.",
"USE_APPLICATION_COMMANDS": "Allows role members to use application commands.",
"USE_EXTERNAL_APPS": "Allows role members to have application responses to show publicly in channel (When disabled, users will still be allowed to use their apps but responses will be visible only to themselves. This only applies to apps not also installed to the guild)."
"USE_EXTERNAL_APPS": "Allows role members to have application responses to show publicly in channel (When disabled, users will still be allowed to use their apps but responses will be visible only to themselves. This only applies to apps not also installed to the guild).",
"SET_VOICE_CHANNEL_STATUS":"Set voice channel status"
},
"readableNames": {
"ADD_REACTIONS": "Add reactions",
@@ -793,7 +794,8 @@
"VIEW_AUDIT_LOG": "View audit log",
"VIEW_CHANNEL": "View channels",
"VIEW_CREATOR_MONETIZATION_ANALYTICS": "View creator monetization analytics",
"VIEW_GUILD_INSIGHTS": "View guild insights"
"VIEW_GUILD_INSIGHTS": "View guild insights",
"SET_VOICE_CHANNEL_STATUS":"Set voice channel status"
}
},
"pinMessage": "Pin message",