diff options
| author | Nathan Perry <np@nathanperry.dev> | 2024-05-08 10:28:04 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2024-05-08 14:16:01 -0400 |
| commit | fe467f60d99efa54f2ef64606e7d39b9b06d7294 (patch) | |
| tree | a62bb50fedb1959d1a155878f0ff0ab7b1f699b6 /src/commands/help.rs | |
| parent | 48aa684dece2696e21fd871eb6f3825f28fe0200 (diff) | |
update all deps
Diffstat (limited to 'src/commands/help.rs')
| -rw-r--r-- | src/commands/help.rs | 8 |
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) } |
