MCPcopy
hub / github.com/eritislami/evobot / enqueue

Method enqueue

structs/MusicQueue.ts:140–146  ·  view source on GitHub ↗
(...songs: Song[])

Source from the content-addressed store, hash-verified

138 }
139
140 public enqueue(...songs: Song[]) {
141 if (this.waitTimeout !== null) clearTimeout(this.waitTimeout);
142 this.waitTimeout = null;
143 this.stopped = false;
144 this.songs = this.songs.concat(songs);
145 this.processQueue();
146 }
147
148 public stop() {
149 if (this.stopped) return;

Callers 2

executeFunction · 0.95
executeFunction · 0.95

Calls 1

processQueueMethod · 0.95

Tested by

no test coverage detected