diff --git a/backend/src/plugins/Utility/commands/EmojiInfoCmd.ts b/backend/src/plugins/Utility/commands/EmojiInfoCmd.ts index 4c771946..c16de9ed 100644 --- a/backend/src/plugins/Utility/commands/EmojiInfoCmd.ts +++ b/backend/src/plugins/Utility/commands/EmojiInfoCmd.ts @@ -11,11 +11,11 @@ export const EmojiInfoCmd = utilityCmd({ permission: "can_emojiinfo", signature: { - emoji: ct.string({ required: false }), + emoji: ct.string({ required: true }), }, async run({ message, args, pluginData }) { - const emojiIdMatch = args.emoji?.match(customEmojiRegex); + const emojiIdMatch = args.emoji.match(customEmojiRegex); if (!emojiIdMatch?.[2]) { sendErrorMessage(pluginData, message.channel, "Emoji not found"); return;