<> - Required argument | {} - Optional argument | / - Either option |
Basic Permissions
Creating a bot channel
akira botchannel {channel}
Set a channel to be the only channel that allows commands. (defaults to current channel)
akira freechannel
Will remove the bot channel status of the channel.
Enabling or disabling a command
akira enable {command/group}
Enable a command or group on the guild level (a.default {command/group} to reset)
akira disable {command/group}
Disable a command or group on the guild level (a.default {command/group} to reset)
Ignore or listen to a channel
akira ignore {channel}
Akira will ignore this channel. (defaults to current channel)
akira listen {channel}
Akira will stop ignoring this channel. (defaults to current channel)
Blacklist or whitelist a member
akira blacklist <user>
Allows you to blacklist members from using Akira.
akira whitelist <user>
Removes a member from the blacklist so they can use commands again.
Advanced Permissions
Advanced Permission Commands
Command | Options | Information |
---|---|---|
a.perms list | Lists all available commands you can edit permissions for. | |
a.perms allow | <group/command> <type> {target} | Enable the command for the given target. |
a.perms deny | <group/command> <type> {target} | Disable the command for the given target. |
a.perms default | <group/command> <type> {target} | Resets the permission to default. |
a.perms clear | <group/command> <type> {target} | Clears the permissions for the given extended type. |
a.perms show | <group/command> | Show set permissions for the given extended type. |
a.perms warn | Akira will start reacting to commands that are disabled. | |
a.perms ignore | Akira will just ignore commands that are disabled. |
Examples
- a.perms list
- a.perms allow ping channel #general
- a.perms deny all guild
- a.perms deny fun role @newpeople
- a.perms allow fun user @member
- a.perms clear
- a.perms clear hello
- a.perms clear util channel
- a.perms show
- a.perms show fun
- a.perms show user @member
- a.perms warn
- a.perms ignore
Type Hierarchy
Extended Types
Extended types use the same types as above as well as below:
- {command:<command>} Will use the command mentioned.
- {group:<module>} Will mentioned group.
Getting started (optional)
To create a channel dedicated to using bot commands you can run:
To deny commands everywhere, and then:
In the channel that you wish to be used for commands.