diff --git a/bots/discord/src/classes/Command.ts b/bots/discord/src/classes/Command.ts index 0331d0f..95cc0be 100644 --- a/bots/discord/src/classes/Command.ts +++ b/bots/discord/src/classes/Command.ts @@ -373,7 +373,7 @@ export default class Command< memberRequirementsForUsers = 'pass', } = this.requirements - const member = this.isGuildSpecific() ? null : (executor as GuildMember) + const member = this.isGuildSpecific() ? (executor as GuildMember) : null const boolDefaultCondition = defaultCondition !== 'fail' const boolMemberRequirementsForUsers = memberRequirementsForUsers !== 'fail'