Basic Permissions

Creating a bot channel

y!botchannel {channel}

MANAGE_SERVER GUILD ONLY
Set the current channel to be the only channel that allows commands by default.

y!freechannel {channel}

MANAGE_SERVER GUILD ONLY
Will remove the bot channel status of the mentioned channel

Enabling or disabling a command

y!enable {command/group}

MANAGE_SERVER GUILD ONLY
Enable a command or group on the guild level (y!default {command/group} to reset)

y!disable {command/group}

MANAGE_SERVER GUILD ONLY
Disable a command or group on the guild level (y!default {command/group} to reset)

Ignore or listen to a channel

y!ignore {channel}

MANAGE_SERVER GUILD ONLY
Yui will ignore the channel you tag. (defaults to current channel)

y!listen {channel}

MANAGE_SERVER GUILD ONLY
Yui will stop ignoring the current channel. (or the one you tag)

Blacklist or whitelist a member

y!blacklist <user>

MANAGE_SERVER GUILD ONLY
Allows you to blacklist members from using Yui. (To prevent spam)

y!whitelist <user>

MANAGE_SERVER GUILD ONLY
Removes a member from the blacklist so they can use commands again.
Advanced Permissions

Advanced Permission Commands

Command Options Information
y!perms list Lists all available commands you can edit permissions for
y!perms allow <group/command> <type> {target} Enable the command in the given target
y!perms deny <group/command> <type> {target} Disable the command in the given target
y!perms default <group/command> <type> {target} Resets the permission to the default
y!perms clear <group/command> <type> {target} Clears the permissions for the given extended type
y!perms show <group/command> Show set permissions for the given extended type
y!perms warn Yui will react to commands that are disabled
y!perms ignore Yui will just ignore commands that are disabled
<> - Required argument {} - Optional argument / - Either option
Do not include <>, {}, or / in your command!

Examples

  • y!perms list
  • y!perms allow ping channel #general
  • y!perms deny all guild
  • y!perms deny fun role @newpeople
  • y!perms allow fun user @member
  • y!perms clear
  • y!perms clear hello
  • y!perms clear util channel
  • y!perms show
  • y!perms show fun
  • y!perms show user @member
  • y!perms warn
  • y!perms ignore

Type Hierarchy

Context will always overwrite in the one above it, from least important to most important:
Guild -> Channel -> Role -> User

Types

guild
Will use the current guild
channel {#channel}
Will use the tagged channel or current channel if no tag is provided
role <@role>
Will use the tagged role
user <@user>
Will use the tagged user

Extended Types

Extended types are used by the clear and show commands, they use the same types as above as well as below:
command <command>
Will use the command mentioned
group <group>
Will use the group mentioned

Getting started (optional)

To create a channel dedicated to using bot commands you can run:

y!perms deny all guild

To deny commands everywhere, and then:

y!perms allow all channel
In the channel that you wish to be used for commands.