Removed the ListenerJoined and ListenerLeft events
This commit is contained in:
+1
-15
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user