one time command
Hi,
I just want to know how can I make a command that can be used by a user only once in his life?
6 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Post the full error stack trace, not just the top part!
- Show your code!
- Explain what exactly your issue is.
- Not a discord.js issue? Check out #useful-servers.
- Issue solved? Press the button!Can u explain more pls
Like I want to make a discord command that can be used once , I tried to make one but when I restart the bot users r able to use it again
?
Did you store the user id in a database and then compare it when the command is used?
Do I have to do it manually??
You are supposed to do it the same way you do it now, but with a database so its persistent over restarts
Ok wait I will try