diff --git a/src/websocket/notifications.ts b/src/websocket/notifications.ts index 8849aa99..29b59366 100644 --- a/src/websocket/notifications.ts +++ b/src/websocket/notifications.ts @@ -47,8 +47,13 @@ export type ClientboundNotification = | { type: "Authenticated" } | ReadyPacket | ({ type: "Message" } & Message) - | { type: "MessageUpdate"; id: string; data: Partial } - | { type: "MessageDelete"; id: string } + | { + type: "MessageUpdate"; + id: string; + data: Partial; + channel: string; + } + | { type: "MessageDelete"; id: string; channel: string } | ({ type: "ChannelCreate" } & Channel) | { type: "ChannelUpdate";