Removed the ListenerJoined and ListenerLeft events

This commit is contained in:
Thomas Viesmose Birch
2024-05-04 16:09:35 +02:00
parent 365132977a
commit 4ef0946605
5 changed files with 3 additions and 55 deletions
+1 -15
View File
@@ -1,9 +1,7 @@
import {Song, PlayingSong, QueuedSong, Playlist, PlaylistDescription} from "./dataTypes";
export type StuenMessages =
ListenerLeft
| ListenerList
| ListenerJoined
ListenerList
| SendChatMessage
| SearchSong
| SearchSongResult
@@ -39,18 +37,6 @@ export class Join extends StuenMessage {
}
}
export class ListenerJoined extends StuenMessage {
constructor(public name: string) {
super('ListenerJoined');
}
}
export class ListenerLeft extends StuenMessage {
constructor(public name: string) {
super('ListenerLeft');
}
}
export class ListenerList extends StuenMessage {
constructor(public names: string[]) {
super('ListenerList');