Im working on my discord bot and I have a stop command. The only problem with it is that it can be ran by anyone. I looked at other posts but didn't understand it. Thanks
stop
Simple, just put this in the beginning of the scope where the command is executed:
if (message.author.id != "<your id here>") return;
1.4m articles
1.4m replys
5 comments
57.0k users