Skip to content

Commit

Permalink
Allow /special in /listen (#1831)
Browse files Browse the repository at this point in the history
  • Loading branch information
taahamahdi authored Jan 23, 2024
1 parent f99c9f2 commit 2c8eebc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions src/commands/game_options/special.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ const COMMAND_NAME = "special";
const logger = new IPCLogger(COMMAND_NAME);

export default class SpecialCommand implements BaseCommand {
preRunChecks = [
{ checkFn: CommandPrechecks.competitionPrecheck },
{ checkFn: CommandPrechecks.notListeningPrecheck },
];
preRunChecks = [{ checkFn: CommandPrechecks.competitionPrecheck }];

validations = {
minArgCount: 0,
Expand Down
1 change: 0 additions & 1 deletion src/helpers/discord_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,6 @@ export async function generateOptionsMessage(
GameOption.MULTIGUESS,
GameOption.ANSWER_TYPE,
GameOption.GOAL,
GameOption.SPECIAL_TYPE,
GameOption.TIMER,
];

Expand Down

0 comments on commit 2c8eebc

Please sign in to comment.