diff --git a/src/commands/setting.ts b/src/commands/setting.ts index e11bf9b..947d42a 100644 --- a/src/commands/setting.ts +++ b/src/commands/setting.ts @@ -43,12 +43,12 @@ export const command: CommandV2 = { new SlashCommandSubcommandBuilder() .setName("add") .setDescription( - "Add a channel from the list that receive all episode notifications", + "Add a channel to the list that receives all episode notifications", ) .addChannelOption((option) => option.setName("channel") .setDescription( - "Channel to add to the list that recieves all episode notifications", + "Channel to add to the list that receives all episode notifications", ) .addChannelTypes( ChannelType.GuildText, @@ -59,12 +59,12 @@ export const command: CommandV2 = { new SlashCommandSubcommandBuilder() .setName("remove") .setDescription( - "Remove a channel from the list that receive all episode notifications", + "Remove a channel from the list that receives all episode notifications", ) .addChannelOption((option) => option.setName("channel") .setDescription( - "Channel to remove from the list that recieves all episode notifications", + "Channel to remove from the list that receives all episode notifications", ) .addChannelTypes( ChannelType.GuildText, @@ -84,12 +84,12 @@ export const command: CommandV2 = { new SlashCommandSubcommandBuilder() .setName("add_channel") .setDescription( - "Add a channel to the list that recieves the morning summary message", + "Add a channel to the list that receives the morning summary message", ) .addChannelOption((option) => option.setName("channel") .setDescription( - "Channel to add to the list that recieves the morning summary message", + "Channel to add to the list that receives the morning summary message", ) .addChannelTypes( ChannelType.GuildText, @@ -100,12 +100,12 @@ export const command: CommandV2 = { new SlashCommandSubcommandBuilder() .setName("remove_channel") .setDescription( - "Remove a channel from the list that recieves the morning summary message", + "Remove a channel from the list that receives the morning summary message", ) .addChannelOption((option) => option.setName("channel") .setDescription( - "Channel to remove from the list that recieves the morning summary message", + "Channel to remove from the list that receives the morning summary message", ) .addChannelTypes( ChannelType.GuildText, diff --git a/src/lib/commandManager.ts b/src/lib/commandManager.ts index 163fa5e..8d21df5 100644 --- a/src/lib/commandManager.ts +++ b/src/lib/commandManager.ts @@ -80,7 +80,7 @@ export class CommandManager { const command = this.commands.get(interaction.commandName) if (command === undefined) return - // checks if the recieved has exactly the same subcommand and/or subcommand group as the command + // checks if the received has exactly the same subcommand and/or subcommand group as the command const subcommands = command.slashCommand.subCommands const subgroups = command.slashCommand.subGroups const hasSubCommands = subcommands === undefined || @@ -100,7 +100,7 @@ export class CommandManager { if (!hasSubCommands && !hasSubGroups && !hasSubgroupSubCommands) return console.debug( - `[Command Recieved] ${command.slashCommand.main.name} - ${interaction.user.username}#${interaction.user.discriminator}`, + `[Command Received] ${command.slashCommand.main.name} - ${interaction.user.username}#${interaction.user.discriminator}`, ) await interaction.deferReply({ ephemeral: true })