()
| 187 | |
| 188 | // Stop the voice player |
| 189 | static shutUp(): void { |
| 190 | const players = this.engine.mediaPlayers('voice', true); |
| 191 | for (const media of Object.keys(players)) { |
| 192 | this.engine.removeMediaPlayer('voice', media); |
| 193 | } |
| 194 | |
| 195 | this.engine.state({ voice: [] }); |
| 196 | } |
| 197 | |
| 198 | type: MediaType; |
| 199 | directory: string; |
no test coverage detected