Skip to content

Commit b8328a0

Browse files
committed
🚑 permission bug
1 parent 289d964 commit b8328a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/ModuleLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ export default class DiscordModuleLoader {
345345
.map((c): [ApplicationCommand<{}>, DiscordCommand] => [
346346
c,
347347
dGuild?.commands.find(
348-
c => c.name.toLowerCase() === c.name.toLowerCase()
348+
g => g.name.toLowerCase() === c.name.toLowerCase()
349349
)!
350350
])
351351
.filter(c => !!c[1].permissions)

0 commit comments

Comments
 (0)