Small fix
This commit is contained in:
parent
165575f986
commit
1c28b1238c
|
@ -185,6 +185,7 @@ async fn _kick(ctx: &Context, msg: &Message) -> commands::Result<()> {
|
|||
#[description = "Disable kicking"]
|
||||
#[only_in(guilds)]
|
||||
#[required_permissions("ADMINISTRATOR")]
|
||||
#[owner_privilege]
|
||||
async fn disable_kick(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
|
||||
let disable = match args.len() {
|
||||
0 => true,
|
||||
|
|
Loading…
Reference in New Issue