From d155ea82dbd9be63bb93beaca627013c6ae69e73 Mon Sep 17 00:00:00 2001 From: lts20050703 <87189679+lts20050703@users.noreply.github.com> Date: Fri, 28 Jan 2022 07:37:46 +0700 Subject: [PATCH] createTimestamp should be number --- src/transformers/channel.ts | 2 +- src/types/channels/channel.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transformers/channel.ts b/src/transformers/channel.ts index f43b82e33..8ef1c0284 100644 --- a/src/transformers/channel.ts +++ b/src/transformers/channel.ts @@ -146,5 +146,5 @@ export interface DiscordenoChannel { /** The voice states that are in this channel assuming it is a voice channel. */ voiceStates?: Collection; /** timestamp when the thread was created; only populated for threads created after 2022-01-09 */ - createTimestamp?: string; + createTimestamp?: number; } diff --git a/src/types/channels/channel.ts b/src/types/channels/channel.ts index 8c2dfd6e0..08eceba10 100644 --- a/src/types/channels/channel.ts +++ b/src/types/channels/channel.ts @@ -63,5 +63,5 @@ export interface Channel { /** whether non-moderators can add other non-moderators to a thread; only available on private threads */ invitable?: boolean; /** timestamp when the thread was created; only populated for threads created after 2022-01-09 */ - createTimestamp?: string; + createTimestamp?: number; }