Fix help command not showing commands when command group permission is valid
This commit is contained in:
parent
21de4c3c82
commit
1300babfde
|
@ -36,6 +36,10 @@ export const help = new Command(
|
|||
!hasPermission(
|
||||
msg.user.role,
|
||||
`cosmic.command.${command.id}`
|
||||
) &&
|
||||
!hasPermission(
|
||||
msg.user.role,
|
||||
`cosmic.commandGroup.${commandGroup.id}`
|
||||
)
|
||||
)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue