mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
fix emojis
This commit is contained in:
parent
1aa2c7bd22
commit
58c103d9ba
2 changed files with 15 additions and 11 deletions
|
@ -120,7 +120,7 @@ async function getServerInfo(client, interaction) {
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: client.customEmojis.afk + interaction.translate("general/serverinfo:AFK_CHANNEL"),
|
name: client.customEmojis.afk + interaction.translate("general/info:AFK_CHANNEL"),
|
||||||
value: guild.afkChannel?.toString() || interaction.translate("common:MISSING"),
|
value: guild.afkChannel?.toString() || interaction.translate("common:MISSING"),
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
|
@ -135,7 +135,7 @@ async function getServerInfo(client, interaction) {
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: client.customEmojis.boost + interaction.translate("general/serverinfo:BOOSTS"),
|
name: client.customEmojis.boost + interaction.translate("general/info:BOOSTS"),
|
||||||
value: guild.premiumSubscriptionCount?.toString() || "0",
|
value: guild.premiumSubscriptionCount?.toString() || "0",
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
|
@ -192,7 +192,7 @@ function getUserInfo(client, interaction, member) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: client.customEmojis.pencil + " " + interaction.translate("common:NICKNAME"),
|
name: client.customEmojis.pencil + " " + interaction.translate("common:NICKNAME"),
|
||||||
value: member.nickname || interaction.translate("general/userinfo:NO_NICKNAME"),
|
value: member.nickname || interaction.translate("general/info:NO_NICKNAME"),
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -220,10 +220,10 @@ function getUserInfo(client, interaction, member) {
|
||||||
value:
|
value:
|
||||||
member.roles.size > 10
|
member.roles.size > 10
|
||||||
? member.roles.cache.map(r => r).filter(r => r.id !== interaction.guild.roles.everyone.id).slice(0, 10).join(", ") + " " +
|
? member.roles.cache.map(r => r).filter(r => r.id !== interaction.guild.roles.everyone.id).slice(0, 10).join(", ") + " " +
|
||||||
interaction.translate("general/userinfo:MORE_ROLES", {
|
interaction.translate("general/info:MORE_ROLES", {
|
||||||
count: member.roles.cache.size - 10,
|
count: member.roles.cache.size - 10,
|
||||||
})
|
})
|
||||||
: member.roles.cache.size < 1 ? interaction.translate("general/userinfo:NO_ROLE") : member.roles.cache.map(r => r).filter(r => r.id !== interaction.guild.roles.everyone.id).slice(0, 10).join(", "),
|
: member.roles.cache.size < 1 ? interaction.translate("general/info:NO_ROLE") : member.roles.cache.map(r => r).filter(r => r.id !== interaction.guild.roles.everyone.id).slice(0, 10).join(", "),
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
16
emojis.json
16
emojis.json
|
@ -1,31 +1,35 @@
|
||||||
{
|
{
|
||||||
|
"afk": "<:afk:1275714552440295499>",
|
||||||
"boost": "<:boost:1268237342100033591>",
|
"boost": "<:boost:1268237342100033591>",
|
||||||
"bot": "<:bot:1268237356066934865>",
|
"bot": "<:bot:1268237356066934865>",
|
||||||
"calendar": "<:calendar:1268237366401831015>",
|
"calendar": "<:calendar:1268237366401831015>",
|
||||||
"calendar2": "<:calendar2:1268237375352340500>",
|
"calendar2": "<:calendar2:1268237375352340500>",
|
||||||
"channels": "<:channels:1268237403131219969>",
|
"channels": "<:channels:1268237403131219969>",
|
||||||
|
"color": "<:color:1275714517954723880>",
|
||||||
"cool": "<:cool:1268237412979445780>",
|
"cool": "<:cool:1268237412979445780>",
|
||||||
"crown": "<:crown:1268237425910485084>",
|
"crown": "<:crown:1268237425910485084>",
|
||||||
"error": "<:error:1268237435331149985>",
|
"error": "<:error:1268237435331149985>",
|
||||||
|
"id": "<:id:1275714562053771294>",
|
||||||
"link": "<:link:1268237497758908567>",
|
"link": "<:link:1268237497758908567>",
|
||||||
"notcool": "<:notcool:1268237504352489513>",
|
"notcool": "<:notcool:1268237504352489513>",
|
||||||
"pencil": "<:pencil:1268237511814025266>",
|
"pencil": "<:pencil:1268237511814025266>",
|
||||||
"ram": "<:ram:1268237517979779244>",
|
"ram": "<:ram:1268237517979779244>",
|
||||||
"stats": "<:stats:1268237534471917599>",
|
"stats": "<:stats:1268237534471917599>",
|
||||||
"success": "<:success:1268237569510867067>",
|
"success": "<:success:1268237569510867067>",
|
||||||
|
"title": "<:title:1275714991529398333>",
|
||||||
"users": "<:users:1268237577958461592>",
|
"users": "<:users:1268237577958461592>",
|
||||||
"version": "<:version:1268237586439213140>",
|
"version": "<:version:1268237586439213140>",
|
||||||
"voice": "<:voice:1268237596392292352>",
|
"voice": "<:voice:1268237596392292352>",
|
||||||
"status": {
|
|
||||||
"online": "<:status_online:1268237561793609852>",
|
|
||||||
"idle": "<:status_idle:1268237548308926516>",
|
|
||||||
"dnd": "<:status_dnd:1268237541379805314>",
|
|
||||||
"offline": "<:status_offline:1268237556084903997>"
|
|
||||||
},
|
|
||||||
"letters": {
|
"letters": {
|
||||||
"a": "<:letter_a:1268237457019764836>",
|
"a": "<:letter_a:1268237457019764836>",
|
||||||
"d": "<:letter_d:1268237464229904424>",
|
"d": "<:letter_d:1268237464229904424>",
|
||||||
"r": "<:letter_r:1268237470722560021>",
|
"r": "<:letter_r:1268237470722560021>",
|
||||||
"w": "<:letter_w:1268237479190728715>"
|
"w": "<:letter_w:1268237479190728715>"
|
||||||
|
},
|
||||||
|
"status": {
|
||||||
|
"dnd": "<:status_dnd:1268237541379805314>",
|
||||||
|
"idle": "<:status_idle:1268237548308926516>",
|
||||||
|
"offline": "<:status_offline:1268237556084903997>",
|
||||||
|
"online": "<:status_online:1268237561793609852>"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue