diff options
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(()) } |
