Diggler



struct  category;

Command set attribute.

Apply to a deriviate class of diggler.command.CommandSet to set its categorical name.


struct  usage;

Command attribute.

Apply to a command method to provide a description for the command.


struct  aliases;

Command attribute.

Apply to a command method to provide alternative names for a command, that can be used to invoke it in chat.


struct  admin;

Command attribute.

Command methods with this attribute can only be invoked by bot administrators. Apply to commands that should only be usable by trusted users.

See Also
diggler.bot.Bot.addAdmins

struct  channelOnly;

Command attribute.

Commands for command methods with attribute cannot be invoked in private messages, regardless of the value of the diggler.bot.Bot.allowPMCommands property.