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"]
|
#[description = "Disable kicking"]
|
||||||
#[only_in(guilds)]
|
#[only_in(guilds)]
|
||||||
#[required_permissions("ADMINISTRATOR")]
|
#[required_permissions("ADMINISTRATOR")]
|
||||||
|
#[owner_privilege]
|
||||||
async fn disable_kick(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
|
async fn disable_kick(ctx: &Context, msg: &Message, mut args: Args) -> CommandResult {
|
||||||
let disable = match args.len() {
|
let disable = match args.len() {
|
||||||
0 => true,
|
0 => true,
|
||||||
|
|
Loading…
Reference in New Issue