Skip to content

Commit

Permalink
remove unnecessary assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
twobiers committed Jan 23, 2025
1 parent 039cad1 commit 7d9a1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/sdm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default class SdmCommand implements MessageCommand, ApplicationCommand {
const o4 = command.options.getString("o4", false);
const o5 = command.options.getString("o5", false);

const options = [o1, o2, o3, o4, o5].filter(o => o !== null) as string[];
const options = [o1, o2, o3, o4, o5].filter(o => o !== null);

const msg = createSecureDecisionMessage(question, member, options);
await command.reply(msg);
Expand Down

0 comments on commit 7d9a1e1

Please sign in to comment.