-
Notifications
You must be signed in to change notification settings - Fork 1
Bot Owners
Badbird-5907 edited this page Jul 10, 2021
·
1 revision
Bot owners are the 'owners' of the bot. They can have permissions to execute commands that are owner-only.
//this adds a owner to the bot
JDACommand.addOwner(1234L); //params is the owner user id as a long.
//this returns true if a user is a owner and false if they are not a owner.
JDACommand.isOwner(net.dv8tion.jda.api.entities.User); //pass through a user object.