From dce40279280ddbc3b961ab83a9cc6f0fbec7e05c Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 8 Mar 2021 18:41:31 +0100 Subject: :sparkles: changed number to date type --- src/models/Invite.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/models/Invite.ts') diff --git a/src/models/Invite.ts b/src/models/Invite.ts index e6cf5cce..fc60b93c 100644 --- a/src/models/Invite.ts +++ b/src/models/Invite.ts @@ -7,7 +7,7 @@ export interface Invite extends Document { uses: number; max_uses: number; max_age: number; - created_at: number; + created_at: Date; guild_id: bigint; channel_id: bigint; inviter_id: bigint; @@ -24,7 +24,7 @@ export const InviteSchema = new Schema({ uses: Number, max_uses: Number, max_age: Number, - created_at: Number, + created_at: Date, guild_id: Types.Long, channel_id: Types.Long, inviter_id: Types.Long, -- cgit 1.5.1