3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-29 04:05:03 +00:00

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:
Nils 2021-02-13 19:02:43 +01:00 committed by GitHub
parent 9724000795
commit 6539b7c8f1
6 changed files with 23 additions and 14 deletions

View file

@ -7,7 +7,7 @@ export const ChannelInfoCmd = utilityCmd({
trigger: ["channel", "channelinfo"],
description: "Show information about a channel",
usage: "!channel 534722016549404673",
permission: "can_channel",
permission: "can_channelinfo",
signature: {
channel: ct.channelId({ required: false }),