summary refs log tree commit diff
path: root/dist/server-util/src/models/Channel.d.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-10 20:59:58 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-10 20:59:58 +0100
commit3d54ed476240702812caf0b6e1ce94bfb0329cb5 (patch)
tree9f928dee5023de75b22d6b99c25c3c3fd967da7f /dist/server-util/src/models/Channel.d.ts
parentexport event (diff)
downloadserver-3d54ed476240702812caf0b6e1ce94bfb0329cb5.tar.xz
fix models + move schemas in api and gateway
Diffstat (limited to 'dist/server-util/src/models/Channel.d.ts')
-rw-r--r--dist/server-util/src/models/Channel.d.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/dist/server-util/src/models/Channel.d.ts b/dist/server-util/src/models/Channel.d.ts
new file mode 100644

index 00000000..f19071ef --- /dev/null +++ b/dist/server-util/src/models/Channel.d.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; + }[]; +}