From 645d49c07bb13491bcc96f8d335def731f55480b Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 1 Feb 2021 21:47:16 +0100 Subject: :sparkles: models --- 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