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>2023-03-13 19:02:52 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-03-13 19:02:52 +1100
commitf228561f4c2059d3568d4cf7dd8fc98dd0260c2a (patch)
tree30084e8f610f5e72cb4c0071695abe454f2363f4 /src/util/entities/Channel.ts
parentRemove client_test folder (diff)
downloadserver-f228561f4c2059d3568d4cf7dd8fc98dd0260c2a.tar.xz
Initial identify rewrite
Diffstat (limited to 'src/util/entities/Channel.ts')
-rw-r--r--src/util/entities/Channel.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts
index 1f128713..7c0828eb 100644
--- a/src/util/entities/Channel.ts
+++ b/src/util/entities/Channel.ts
@@ -482,3 +482,10 @@ export enum ChannelPermissionOverwriteType {
 	member = 1,
 	group = 2,
 }
+
+export interface DMChannel extends Omit<Channel, "type" | "recipients"> {
+	type: ChannelType.DM | ChannelType.GROUP_DM;
+	recipients: Recipient[];
+
+	// TODO: probably more props
+}