Bot owner only commands
Some commands should only be available to the bot owners. A perfect example of this is a "status" command that updates the status of your bot. WOKCommands comes with this capability.
Here is how your command file should be setup:
status.js
Whenever we initialize WOKCommands we can pass in any number of IDs for the owner's Discord accounts:
The bot owner's ID is automatically added to the bot owner list. If you are the only developer working on your project you do not need to add your ID.
index.js
Last updated