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

Prevent crash when using !emoji with no args (#221)

This commit is contained in:
Usoka 2021-08-15 02:29:25 +12:00 committed by GitHub
parent e8d1d0fdcc
commit 0204ed737a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ export const EmojiInfoCmd = utilityCmd({
permission: "can_emojiinfo",
signature: {
emoji: ct.string({ required: false }),
emoji: ct.string({ required: true }),
},
async run({ message, args, pluginData }) {