divide by 1000
This commit is contained in:
parent
1bd02d4193
commit
76e4b08c2f
@ -169,7 +169,7 @@ class InformationCommand extends SlashCommand {
|
|||||||
const embed = {
|
const embed = {
|
||||||
title: channel.name,
|
title: channel.name,
|
||||||
description: interaction.format('COMMAND_INFO_CHANNEL_BASE', {
|
description: interaction.format('COMMAND_INFO_CHANNEL_BASE', {
|
||||||
created: `<t:${Math.floor(channel.createdTimestamp)}:D> (<t:${Math.floor(channel.createdTimestamp)}:R>)`,
|
created: `<t:${Math.floor(channel.createdTimestamp / 1000)}:D> (<t:${Math.floor(channel.createdTimestamp / 1000)}:R>)`,
|
||||||
type: channel.type
|
type: channel.type
|
||||||
}),
|
}),
|
||||||
footer: {
|
footer: {
|
||||||
|
Loading…
Reference in New Issue
Block a user