mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -04:00
abort emojimix early
This commit is contained in:
parent
00725e8efb
commit
d8c86959f5
2 changed files with 4 additions and 0 deletions
|
@ -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]){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue