summary refs log tree commit diff
path: root/src/util/entities/Channel.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-19 18:36:53 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-19 19:31:23 +1100
commitac74a2cec4e05447fd9ad60aafed8930887fbe05 (patch)
treef032bea825a65f598dc265f102ea62be544cc51d /src/util/entities/Channel.ts
parentDon't override existing config values (diff)
downloadserver-ac74a2cec4e05447fd9ad60aafed8930887fbe05.tar.xz
Create webhooks
Diffstat (limited to 'src/util/entities/Channel.ts')
-rw-r--r--src/util/entities/Channel.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts
index 2aba739a..e9e631f1 100644
--- a/src/util/entities/Channel.ts
+++ b/src/util/entities/Channel.ts
@@ -169,6 +169,12 @@ export class Channel extends BaseClass {
 	})
 	webhooks?: Webhook[];
 
+	@Column()
+	flags: number = 0;
+
+	@Column()
+	default_thread_rate_limit_per_user: number = 0;
+
 	// TODO: DM channel
 	static async createChannel(
 		channel: Partial<Channel>,