mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-18 16:28:55 +00:00
Add example for role
This commit is contained in:
parent
4e52c5a4a1
commit
2b1567e616
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ fn list(ctx: &mut Context, m: &Message, _: Args) -> CommandResult {
|
||||||
|
|
||||||
#[command("role")]
|
#[command("role")]
|
||||||
#[description = "Toggle a role by its name or ID."]
|
#[description = "Toggle a role by its name or ID."]
|
||||||
|
#[example = "\"IELTS / TOEFL\""]
|
||||||
#[num_args(1)]
|
#[num_args(1)]
|
||||||
#[only_in(guilds)]
|
#[only_in(guilds)]
|
||||||
fn toggle(ctx: &mut Context, m: &Message, mut args: Args) -> CommandResult {
|
fn toggle(ctx: &mut Context, m: &Message, mut args: Args) -> CommandResult {
|
||||||
|
|
Loading…
Add table
Reference in a new issue