Failed to overwrite global application commands: Command name is invalid
Hello! I am having an incredibly frustrating time adding a new slash command to my bot. The command is fairly straight forward however when I try to start the bot I get the error in the title. I cannot for the life of me seem to work out why it should throw this error and was hoping to find some helpful advice here!

Solution:Jump to solution
I found the issue, its not only command names that need to be lowercase, its also argument names or option names too
8 Replies
I can't seem to be able to post my code here, maybe someone needs to reply first lol
Thanks in advance for any and all help!
What’s the name of the file?
RecruiterChannel.ts
A commands name can only have lowercase letters. You should probably set
name
to something other than just this.name
since that will be RecruterChannelI'm logging the name and its
recruiterchannel
i believe the framework transforms itOh I didn’t know that. I’m not sure then
Bummer but thanks 🙂
I'm so confused with this issue, nothing i see could be causing this error :/
Solution
I found the issue, its not only command names that need to be lowercase, its also argument names or option names too