mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
fix tagline
This commit is contained in:
parent
0a3c5ebb5e
commit
88a100abbc
2 changed files with 3 additions and 2 deletions
|
@ -79,8 +79,8 @@ module.exports = {
|
||||||
let form = '.png'
|
let form = '.png'
|
||||||
if(matches[0].animated) form = '.gif'
|
if(matches[0].animated) form = '.gif'
|
||||||
|
|
||||||
const tagline = ''
|
let tagline = ''
|
||||||
if(context.guild.emojis.find((e)=>e.id == matches[0].id)) tagline == `\nThis emoji is from ${bold(context.guild.name)}`
|
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, {
|
return editOrReply(context, createEmbed("default", context, {
|
||||||
description: `${iconPill("emoji", `:${matches[0].name}:`)} ${highlight(`(${matches[0].id})`)}${tagline}`,
|
description: `${iconPill("emoji", `:${matches[0].name}:`)} ${highlight(`(${matches[0].id})`)}${tagline}`,
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
"detritus-client": "^0.17.0-beta.16",
|
"detritus-client": "^0.17.0-beta.16",
|
||||||
"dotenv": "^16.0.1",
|
"dotenv": "^16.0.1",
|
||||||
"emoji-aware": "^3.1.0",
|
"emoji-aware": "^3.1.0",
|
||||||
|
"eventemitter3": "^4.0.7",
|
||||||
"express": "^4.18.1",
|
"express": "^4.18.1",
|
||||||
"superagent": "^7.1.1"
|
"superagent": "^7.1.1"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue