summary refs log tree commit diff
path: root/src/models/Channel.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-05 21:55:07 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-05 21:55:07 +0100
commit9b7f4e2b66bd978c3903b352ee1811e80848a24a (patch)
tree4f537890f27f44b95d7057e41ae3c32be08a1791 /src/models/Channel.ts
parent:bug: make default options optional (diff)
downloadserver-9b7f4e2b66bd978c3903b352ee1811e80848a24a.tar.xz
Move Models/Schemas to server-util
Diffstat (limited to 'src/models/Channel.ts')
-rw-r--r--src/models/Channel.ts19
1 files changed, 19 insertions, 0 deletions
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; + }[]; +}