Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/commands/setting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/lib/commandManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand All @@ -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 })
Expand Down
Loading