mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
fix guild issue
This commit is contained in:
parent
2ddd71279c
commit
cc4f57d133
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ module.exports = {
|
|||
let sprites = entries.splice(0, 4);
|
||||
let embeds = [];
|
||||
for(const s of sprites){
|
||||
let fields = sprites.map((s)=>{return {inline: true,name:`${icon("emoji")} \\:${s.name}\\:`,value:`-# ID: ${s.id}\n-# Created ${timestamp(Snowflake.timestamp(s.id),"R")}${context.guild.emojis.find((e)=>e.id == matches[0].id) ? "\n-# Custom emoji is from this server" : ""}`}});
|
||||
let fields = sprites.map((s)=>{return {inline: true,name:`${icon("emoji")} \\:${s.name}\\:`,value:`-# ID: ${s.id}\n-# Created ${timestamp(Snowflake.timestamp(s.id),"R")}`}});
|
||||
if(fields.length >= 3){
|
||||
fields.splice(2,0,{name:` `, value:` `, inline:true})
|
||||
if(fields.length == 5) fields.push({name:` `, value:` `, inline:true})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue