diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-03-13 19:02:52 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-03-13 19:02:52 +1100 |
commit | f228561f4c2059d3568d4cf7dd8fc98dd0260c2a (patch) | |
tree | 30084e8f610f5e72cb4c0071695abe454f2363f4 /src/util/entities/Channel.ts | |
parent | Remove client_test folder (diff) | |
download | server-f228561f4c2059d3568d4cf7dd8fc98dd0260c2a.tar.xz |
Initial identify rewrite
Diffstat (limited to 'src/util/entities/Channel.ts')
-rw-r--r-- | src/util/entities/Channel.ts | 7 |
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 +} |