abort emojimix early

This commit is contained in:
bignutty 2024-07-26 03:40:06 +02:00
parent 00725e8efb
commit d8c86959f5
2 changed files with 4 additions and 0 deletions

View file

@ -98,6 +98,8 @@ module.exports = {
// Emoji Mixing
if(emoji.length >= 2){
ingest("emoji_emojikitchen", "slash_command_ran");
if(emoji.length >= 3) return editOrReply(context, createEmbed("warning", context, "You cannot mix more than two emoji."));
try{
let em = await emojiKitchen(emoji)
if(!em.body.results[0]){