Skip to content

Commit

Permalink
the
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Oct 13, 2023
1 parent 1d68e0c commit 3894e72
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/commands/faithful/missing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,10 @@ export const command: SlashCommand = {
let errMessage = (err as Error).message;
if (!errMessage) {
console.error(err);
errMessage =
`An error occured when running /missing.\n\nInformation: ${err}`;
errMessage = `An error occured when running /missing.\n\nInformation: ${err}`;
}

if (!this.client.tokens.dev)
if (!interaction.client.tokens.dev)
devLogger(interaction.client, (err as Error).stack ?? (err as string), { codeBlocks: "" });

return [null, [errMessage], options];
Expand Down

0 comments on commit 3894e72

Please sign in to comment.