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.
metadata.guilds
1 parent 761340e commit c88aaf6Copy full SHA for c88aaf6
packages/commandkit/src/app/handlers/AppCommandHandler.ts
@@ -556,7 +556,7 @@ export class AppCommandHandler {
556
}
557
558
if (
559
- loadedCommand.metadata?.guilds &&
+ loadedCommand.metadata?.guilds?.length &&
560
!loadedCommand.metadata.guilds.includes(source.guildId)
561
) {
562
return null; // command is being called in a guild that is not in the metadata
0 commit comments