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}`,