Fix various issues with the info commands (#151)
Fixed !info not checking for any of the sub-permissions Fixed message/channel/invite checking non-existent permissions Fixed ServerCmd being out of line with the rest of the info commands name-wise
This commit is contained in:
parent
4584fa4e87
commit
93618e1bda
6 changed files with 23 additions and 14 deletions
|
@ -8,7 +8,7 @@ export const InviteInfoCmd = utilityCmd({
|
|||
trigger: ["invite", "inviteinfo"],
|
||||
description: "Show information about an invite",
|
||||
usage: "!invite overwatch",
|
||||
permission: "can_invite",
|
||||
permission: "can_inviteinfo",
|
||||
|
||||
signature: {
|
||||
inviteCode: ct.string({ required: false }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue