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-01 21:47:16 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-01 21:47:16 +0100
commit645d49c07bb13491bcc96f8d335def731f55480b (patch)
tree7efb5d26ecd1338ba03bef1bf31b2bcf13dabb15 /src/models/Channel.ts
parent:sparkles: added Date + Email Body Type (diff)
downloadserver-645d49c07bb13491bcc96f8d335def731f55480b.tar.xz
:sparkles: models
Diffstat (limited to '')
-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; + }[]; +}