fix: aliases do not have their own command nodes
This commit is contained in:
parent
b4f989bf92
commit
a8be9b71b2
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
|
|||
if !has_permission(
|
||||
&user,
|
||||
ranks.clone(),
|
||||
format!("commands.{}", cmd_name),
|
||||
format!("commands.{}", cmd_lock.name()),
|
||||
) {
|
||||
client_events
|
||||
.message(format!("You do not have permission \"commands.{}\" to run this command.", cmd_name))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue