Role Arg
Accepts a Discord Role entity as an ID, a mention, or by name.
Parameters
The guild ID used to determine which guild to search in.
Whether this entity can be retrieved from outside this guild.
Constructors
Types
Functions
A function called whenever an example of this type is needed.
Utility function to check that this Argument is an OptionalArg.
Accept multiple inputs of this Argument.
Make this argument optional and fall back to the default value if the conversion fails.
Make this argument optional and fall back to the default value if the conversion fails. Exposes a CommandEvent.
Make this argument optional and fall back to the default value if the conversion fails.
Make this argument optional and fall back to the default value if the conversion fails. Exposes a CommandEvent.
Parse string input into the correct type handled by this argument.
Transforms a value produced by a slash command or by the parse function.