diff options
| author | Nathan Perry <np@nathanperry.dev> | 2024-05-08 12:55:35 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2024-05-08 14:16:01 -0400 |
| commit | ffba60b278162707bc4eb004c3bfb6b2e9595213 (patch) | |
| tree | edf8172ecad59d46a6056944fd9e79f7dfb327c2 /src/commands/help.rs | |
| parent | fe467f60d99efa54f2ef64606e7d39b9b06d7294 (diff) | |
rework to use songbird
Diffstat (limited to 'src/commands/help.rs')
| -rw-r--r-- | src/commands/help.rs | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/commands/help.rs b/src/commands/help.rs index 588cdf7..0d84b2d 100644 --- a/src/commands/help.rs +++ b/src/commands/help.rs @@ -1,23 +1,20 @@ use std::collections::HashSet; use serenity::{ + framework::standard::{ + help_commands, + macros::help, + Args, + CommandGroup, + CommandResult, + HelpOptions, + }, model::{ channel::Message, id::UserId, }, - framework::{ - standard::{ - macros::help, - help_commands, - Args, - HelpOptions, - CommandGroup, - }, - }, prelude::*, }; -use serenity::framework::standard::CommandResult; - #[help] pub async fn help( @@ -28,5 +25,7 @@ pub async fn help( groups: &[&'static CommandGroup], owners: HashSet<UserId>, ) -> CommandResult { - help_commands::with_embeds(ctx, msg, args, opts, groups, owners) + help_commands::with_embeds(ctx, msg, args, opts, groups, owners).await?; + + Ok(()) } |
