Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
JstnMcBrd committed Feb 13, 2024
1 parent 94a3718 commit 32d804f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/talk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const talk: GlobalCommand = {
async execute(context) {
const options = context.options;
const message = options.getString('message', true);
const speaker = options.getString('speaker', false) as Speaker|undefined ?? undefined;
const speaker = (options.getString('speaker', false) as Speaker | undefined) ?? undefined;

await speak(context, message, speaker);
},
Expand Down

0 comments on commit 32d804f

Please sign in to comment.