diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-18 11:53:22 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-18 11:53:22 +0200 |
commit | 0721484a934031721904d0689a7794b212b139b7 (patch) | |
tree | e3cc1a34c35b8984383fd355ed3e554002ef5f36 /util/src | |
parent | :ambulance: user settings route (diff) | |
download | server-0721484a934031721904d0689a7794b212b139b7.tar.xz |
:sparkles: add default_auto_archive_duration to channel
Diffstat (limited to 'util/src')
-rw-r--r-- | util/src/models/Channel.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/src/models/Channel.ts b/util/src/models/Channel.ts index 1dd05896..2959decd 100644 --- a/util/src/models/Channel.ts +++ b/util/src/models/Channel.ts @@ -26,6 +26,7 @@ export const ChannelSchema = new Schema({ last_pin_timestamp: Date, nsfw: Boolean, rate_limit_per_user: Number, + default_auto_archive_duration: Number, topic: String, permission_overwrites: [ { @@ -60,6 +61,7 @@ export interface Channel { export interface TextBasedChannel { last_message_id?: string; last_pin_timestamp?: number; + default_auto_archive_duration?: number; } export interface GuildChannel extends Channel { |