aboutsummaryrefslogtreecommitdiff
path: root/src/commands/help.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/help.rs')
-rw-r--r--src/commands/help.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/help.rs b/src/commands/help.rs
index 743a099..588cdf7 100644
--- a/src/commands/help.rs
+++ b/src/commands/help.rs
@@ -16,17 +16,17 @@ use serenity::{
},
prelude::*,
};
+use serenity::framework::standard::CommandResult;
-use crate::Result;
#[help]
-pub fn help(
- ctx: &mut Context,
+pub async fn help(
+ ctx: &Context,
msg: &Message,
args: Args,
opts: &'static HelpOptions,
groups: &[&'static CommandGroup],
owners: HashSet<UserId>,
-) -> Result<()> {
+) -> CommandResult {
help_commands::with_embeds(ctx, msg, args, opts, groups, owners)
}