diff --git a/src/Discord.Net.Core/Entities/Interactions/SlashCommandBuilder.cs b/src/Discord.Net.Core/Entities/Interactions/SlashCommandBuilder.cs index e80ab108e..d70700138 100644 --- a/src/Discord.Net.Core/Entities/Interactions/SlashCommandBuilder.cs +++ b/src/Discord.Net.Core/Entities/Interactions/SlashCommandBuilder.cs @@ -43,7 +43,7 @@ namespace Discord // Discord updated the docs, this regex prevents special characters like @!$%(... etc, // https://discord.com/developers/docs/interactions/slash-commands#applicationcommand if (!Regex.IsMatch(value, @"^[\w-]{3,32}$")) - throw new ArgumentException("Command name cannot contian any special characters or whitespaces!"); + throw new ArgumentException("Command name cannot contain any special characters or whitespaces!"); _name = value; }