Struct SubCommandGroup
zaun_bot::SubCommandGroup · Struct
pub struct SubCommandGroup(…)Builds a group of sub-commands (/name group sub).
Methods
Section titled “Methods”pub fn new<impl Into<String>, impl Into<String>>(name: impl Into<String>, description: impl Into<String>) -> SelfA group.
sub_command
Section titled “sub_command”pub fn sub_command(self, sub: SubCommand) -> SelfAdds a sub-command.
Trait implementations
Section titled “Trait implementations”Clone, Debug