mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
fix fetching users with old ids
This commit is contained in:
parent
c549cceeec
commit
ce127c8782
3 changed files with 7 additions and 7 deletions
|
@ -33,7 +33,7 @@ module.exports = {
|
|||
const g = context.guild
|
||||
// Guild Card
|
||||
let guildCard = createEmbed("default", context, {
|
||||
description: `${icon("house")} **${g.name}** ${highlight(`(${g.id})`)}\n\n${icon("calendar")} **Created at: **${timestamp(g.createdAt)}\n\n<:lc_guild_owner:674652779406426122> **Server Owner: **<@${g.owner.id}>`,
|
||||
description: `${icon("house")} **${g.name}** ${highlight(`(${g.id})`)}\n\n${icon("calendar")} **Created at: **${timestamp(g.createdAt, "f")}\n\n<:lc_guild_owner:674652779406426122> **Server Owner: **<@${g.owner.id}>`,
|
||||
thumbnail: {
|
||||
url: g.iconUrl + `?size=4096`
|
||||
},
|
||||
|
|
|
@ -40,7 +40,7 @@ module.exports = {
|
|||
},
|
||||
fields: [{
|
||||
name: `${icon("calendar")} Dates`,
|
||||
value: `**Account Created: **${timestamp(u.createdAt)}`,
|
||||
value: `**Account Created: **${timestamp(u.createdAt, "f")}`,
|
||||
inline: false
|
||||
}]
|
||||
})
|
||||
|
@ -48,7 +48,7 @@ module.exports = {
|
|||
|
||||
// Guild Container
|
||||
if(m){
|
||||
userCard.fields[0].value = userCard.fields[0].value + `\n**Joined Guild: **${timestamp(m.joinedAt)}`
|
||||
userCard.fields[0].value = userCard.fields[0].value + `\n**Joined Guild: **${timestamp(m.joinedAt, "f")}`
|
||||
let guildFields = []
|
||||
|
||||
// TODO: make this an icon()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue