Channel Arg
open class ChannelArg<T : GuildChannel>(val name: String = "Channel", val description: String = internalLocale.channelArgDescription, allowsGlobal: Boolean = false) : ChannelArgument<T>
Accepts a Discord TextChannel entity as an ID or mention.
Parameters
allows Global
Whether this entity can be retrieved from outside this guild.
Inheritors
Types
Functions
Link copied to clipboard
A function called whenever an example of this type is needed.
Link copied to clipboard
Utility function to check that this Argument is an OptionalArg.
Link copied to clipboard
Accept multiple inputs of this Argument.
Link copied to clipboard
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.
Link copied to clipboard
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.
Link copied to clipboard
Parse string input into the correct type handled by this argument.