We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 289d964 commit b8328a0Copy full SHA for b8328a0
src/classes/ModuleLoader.ts
@@ -345,7 +345,7 @@ export default class DiscordModuleLoader {
345
.map((c): [ApplicationCommand<{}>, DiscordCommand] => [
346
c,
347
dGuild?.commands.find(
348
- c => c.name.toLowerCase() === c.name.toLowerCase()
+ g => g.name.toLowerCase() === c.name.toLowerCase()
349
)!
350
])
351
.filter(c => !!c[1].permissions)
0 commit comments