diff options
Diffstat (limited to 'src/commands/help.rs')
| -rw-r--r-- | src/commands/help.rs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/commands/help.rs b/src/commands/help.rs new file mode 100644 index 0000000..743a099 --- /dev/null +++ b/src/commands/help.rs @@ -0,0 +1,32 @@ +use std::collections::HashSet; + +use serenity::{ + model::{ + channel::Message, + id::UserId, + }, + framework::{ + standard::{ + macros::help, + help_commands, + Args, + HelpOptions, + CommandGroup, + }, + }, + prelude::*, +}; + +use crate::Result; + +#[help] +pub fn help( + ctx: &mut Context, + msg: &Message, + args: Args, + opts: &'static HelpOptions, + groups: &[&'static CommandGroup], + owners: HashSet<UserId>, +) -> Result<()> { + help_commands::with_embeds(ctx, msg, args, opts, groups, owners) +} |
