Small fix

This commit is contained in:
Oupson 2020-08-24 23:30:55 +02:00
parent 165575f986
commit 1c28b1238c
1 changed files with 1 additions and 0 deletions

View File

@ -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,