From 9b7f4e2b66bd978c3903b352ee1811e80848a24a Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 5 Feb 2021 21:55:07 +0100 Subject: Move Models/Schemas to server-util --- src/models/Channel.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/models/Channel.ts (limited to 'src/models/Channel.ts') diff --git a/src/models/Channel.ts b/src/models/Channel.ts new file mode 100644 index 00000000..81fec185 --- /dev/null +++ b/src/models/Channel.ts @@ -0,0 +1,19 @@ +export interface Channel { + id: bigint; + guild_id: bigint; + last_message_id: string; + last_pin_timestamp: string; + name: string; + nsfw: boolean; + parent_id: bigint; + position: number; + rate_limit_per_user: number; + topic: string | null; + type: number; + permission_overwrites: { + allow: bigint; + deny: bigint; + id: bigint; + type: number; + }[]; +} -- cgit 1.5.1