divide by 1000

This commit is contained in:
Erik 2022-04-25 18:19:38 +03:00
parent 1bd02d4193
commit 76e4b08c2f
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -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: {