From ffba60b278162707bc4eb004c3bfb6b2e9595213 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Wed, 8 May 2024 12:55:35 -0400 Subject: rework to use songbird --- src/commands/help.rs | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'src/commands/help.rs') 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, ) -> CommandResult { - help_commands::with_embeds(ctx, msg, args, opts, groups, owners) + help_commands::with_embeds(ctx, msg, args, opts, groups, owners).await?; + + Ok(()) } -- cgit v1.3.1