1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
use std::collections::HashSet;
use serenity::{
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(
ctx: &Context,
msg: &Message,
args: Args,
opts: &'static HelpOptions,
groups: &[&'static CommandGroup],
owners: HashSet<UserId>,
) -> CommandResult {
help_commands::with_embeds(ctx, msg, args, opts, groups, owners)
}
|