#Slash command clear with discord.js v14

1 messages · Page 1 of 1 (latest)

queen gate
#

I have a problem: I have create the command clear but this command isn't in the slash commands. How can I resolve? This is the code and the screen of the problem.

muted oxide
#

You left your bot token in that code snippet!

queen gate
#

I have already upgrade the code

#

@muted oxide

muted oxide
#

Yes, but you left your bot's token in your code there.

muted oxide
#

I've gone ahead and invalidated your bot token so a bad actor cannot do anything malicious towards your bot

#

Might wanna censor your token next time

#

(Also, your commands aren't working because the token from .setToken and .login are different)