mirror of
https://github.com/SrIzan10/hctv.git
synced 2026-06-06 00:56:56 +00:00
feat: chats work now!
This commit is contained in:
@@ -249,12 +249,15 @@ interface ModifiedWSContext extends WSContext<ModifiedWebSocket> {
|
||||
user?: any;
|
||||
personalChannel?: any;
|
||||
viewerId?: string;
|
||||
botUsername?: string;
|
||||
chatUser?: ChatUser | null;
|
||||
}
|
||||
|
||||
export interface ModifiedWebSocket extends WebSocket {
|
||||
targetUsername?: string;
|
||||
user?: User;
|
||||
personalChannel?: Channel;
|
||||
chatUser?: ChatUser | null;
|
||||
}
|
||||
|
||||
interface CloseEventInit extends EventInit {
|
||||
@@ -262,3 +265,11 @@ interface CloseEventInit extends EventInit {
|
||||
reason?: string;
|
||||
wasClean?: boolean;
|
||||
}
|
||||
|
||||
interface ChatUser {
|
||||
id: string;
|
||||
username: string;
|
||||
pfpUrl: string;
|
||||
displayName?: string;
|
||||
isBot: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user