fix: added missing channel property on message events (#25)

This commit is contained in:
Jan
2021-11-13 12:22:58 +01:00
committed by GitHub
parent 4db8004117
commit ddaa457ace
+7 -2
View File
@@ -47,8 +47,13 @@ export type ClientboundNotification =
| { type: "Authenticated" }
| ReadyPacket
| ({ type: "Message" } & Message)
| { type: "MessageUpdate"; id: string; data: Partial<Message> }
| { type: "MessageDelete"; id: string }
| {
type: "MessageUpdate";
id: string;
data: Partial<Message>;
channel: string;
}
| { type: "MessageDelete"; id: string; channel: string }
| ({ type: "ChannelCreate" } & Channel)
| {
type: "ChannelUpdate";