pub trait SlashCommandDisplay {
// Required methods
fn name(&self) -> &str;
fn description(&self) -> &str;
}Expand description
Trait for displaying slash commands in the popup.
This is a simple trait that just requires name and description.
The full SlashCommand trait from commands module extends this.
Required Methods§
Sourcefn description(&self) -> &str
fn description(&self) -> &str
A short description of what the command does