Hello, I’m making a discord bot. And I have added a command. In this command, bot detects first argument and other argument. Here my code:
const firstArgument = Arguments [0] const otherArguments = Arguments.slice ().join (' ') - firstArgument if (!firstArgument) Message.channel.send ('You must type more arguments than 1.')
I type 2 arguments, but it errors You must type more arguments than 1.
How can I fix this?
I may do a mistake at translating to English, if true, sorry.