fix tagline

This commit is contained in:
derpystuff 2023-06-28 15:24:11 +02:00
parent 0a3c5ebb5e
commit 88a100abbc
2 changed files with 3 additions and 2 deletions

View file

@ -79,8 +79,8 @@ module.exports = {
let form = '.png'
if(matches[0].animated) form = '.gif'
const tagline = ''
if(context.guild.emojis.find((e)=>e.id == matches[0].id)) tagline == `\nThis emoji is from ${bold(context.guild.name)}`
let tagline = ''
if(context.guild.emojis.find((e)=>e.id == matches[0].id)) tagline = `\n${icon("house")} This emoji is from ${bold(context.guild.name)}`
return editOrReply(context, createEmbed("default", context, {
description: `${iconPill("emoji", `:${matches[0].name}:`)} ${highlight(`(${matches[0].id})`)}${tagline}`,

View file

@ -14,6 +14,7 @@
"detritus-client": "^0.17.0-beta.16",
"dotenv": "^16.0.1",
"emoji-aware": "^3.1.0",
"eventemitter3": "^4.0.7",
"express": "^4.18.1",
"superagent": "^7.1.1"
}