utilities.linvite: actually call getTime
This commit is contained in:
parent
de999f1858
commit
86a7e197a8
1 changed files with 3 additions and 1 deletions
|
@ -338,7 +338,9 @@ lookupinvite.callback = async function (msg, line) {
|
||||||
value:
|
value:
|
||||||
invite.expires_at == null
|
invite.expires_at == null
|
||||||
? "Never"
|
? "Never"
|
||||||
: `<t:${Math.floor(new Date(invite.expires_at).getTime / 1000)}>`,
|
: `<t:${Math.floor(
|
||||||
|
new Date(invite.expires_at).getTime() / 1000
|
||||||
|
)}>`,
|
||||||
inline: true,
|
inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue