🐛 Fix auto play function name
This commit is contained in:
parent
536ccb90b2
commit
8c7bda9ca2
1 changed files with 1 additions and 1 deletions
|
@ -891,7 +891,7 @@ export class Player extends EventEmitter {
|
||||||
* @param message The message object
|
* @param message The message object
|
||||||
* @param enable Enable/Disable autoplay
|
* @param enable Enable/Disable autoplay
|
||||||
*/
|
*/
|
||||||
setAutoplay(message: Message, enable: boolean): void {
|
setAutoPlay(message: Message, enable: boolean): void {
|
||||||
const queue = this.getQueue(message);
|
const queue = this.getQueue(message);
|
||||||
if (!queue) return void this.emit(PlayerEvents.ERROR, PlayerErrorEventCodes.NOT_PLAYING, message);
|
if (!queue) return void this.emit(PlayerEvents.ERROR, PlayerErrorEventCodes.NOT_PLAYING, message);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue