fix roles command

This commit is contained in:
jellywx 2021-08-03 09:01:10 +01:00
parent 00565690bc
commit 9db0265f5e

View File

@ -148,6 +148,12 @@ pub async fn change_prefix(
#[kind(Text)]
#[group("Settings")]
#[description("Change the roles allowed to use the bot")]
#[arg(
name = "roles",
kind = "String",
description = "The role mentions to enlist",
required = true
)]
pub async fn set_allowed_roles(
ctx: &Context,
invoke: &(dyn CommandInvoke + Sync + Send),