From 364f80228298c02e6851837443a7813b7d22f39a Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Fri, 29 Mar 2024 14:47:09 -0400 Subject: [PATCH] fix typo --- public/scripts/slash-commands/SlashCommandParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/slash-commands/SlashCommandParser.js b/public/scripts/slash-commands/SlashCommandParser.js index bb05c1589..7d14f3763 100644 --- a/public/scripts/slash-commands/SlashCommandParser.js +++ b/public/scripts/slash-commands/SlashCommandParser.js @@ -134,7 +134,7 @@ export class SlashCommandParser { addCommand(command, callback, aliases, helpString = '', interruptsGeneration = false, purgeFromMessage = true) { if (['/', '#'].includes(command[0])) { - throw new Error(`Illegal Name. Slash commandn name cannot begin with "${command[0]}".`); + throw new Error(`Illegal Name. Slash command name cannot begin with "${command[0]}".`); } const fnObj = Object.assign(new SlashCommand(), { name:command, callback, helpString, interruptsGeneration, purgeFromMessage, aliases });