Module serenity::framework::standard [] [src]

Modules

help_commands

A collection of default help commands for the framework.

Structs

Args

A utility struct for handling arguments of a command.

CommandError

An error from a command.

CommandGroup
CommandOptions
Configuration

The configuration to use for a Framework associated with a Client instance.

CreateCommand
CreateGroup

Used to create command groups

CreateHelpCommand
HelpOptions
Iter

Provides list's functionality, but as an iterator.

StandardFramework

A utility for easily managing dispatches to commands.

Enums

ArgError

Defines how an operation on an Args method failed.

CommandOrAlias
DispatchError

An enum representing all possible fail conditions under which a command won't be executed.

FnOrCommand
HelpBehaviour

Describes the behaviour the help-command shall execute once it encounters a command which the user or command fails to meet following criteria : Lacking required permissions to execute the command. Lacking required roles to execute the command. The command can't be used in the current channel (as in DM only or guild only).

Traits

Command

A framework command.

Functions

has_correct_permissions
has_correct_roles

Type Definitions

HelpFunction