Bot owner only commands
Last updated
Last updated
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:
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.