Skip to content

Commit

Permalink
style: improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
EvolutionX-10 committed Jun 21, 2022
1 parent b1219e5 commit 283e423
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/structures/Command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,9 @@ export class Command<PreParseReturn = Args, O extends Command.Options = Command.
preconditions.append(CommandPreConditions.GuildNewsThreadOnly);
}

if (guildVoice) preconditions.append(CommandPreConditions.GuildVoiceOnly);
if (guildVoice) {
preconditions.append(CommandPreConditions.GuildVoiceOnly);
}
}

return preconditions;
Expand Down

0 comments on commit 283e423

Please sign in to comment.