3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 00:35:02 +00:00

Fix various issues with the info commands

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:
Dark 2021-02-01 06:41:56 +01:00
parent 6f545f5c4a
commit 49b555df07
No known key found for this signature in database
GPG key ID: 384C4B4F5B1E25A8
6 changed files with 23 additions and 14 deletions

View file

@ -8,7 +8,7 @@ export const MessageInfoCmd = utilityCmd({
trigger: ["message", "messageinfo"],
description: "Show information about a message",
usage: "!message 534722016549404673-534722219696455701",
permission: "can_message",
permission: "can_messageinfo",
signature: {
message: ct.messageTarget(),