mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 02:53:31 +01:00
refactor: compare with undefined directly (#9191)
* refactor: compare with `undefined` directly * fix: lint
This commit is contained in:
@@ -184,6 +184,6 @@ export function deleteAudioPlayer(player: AudioPlayer) {
|
||||
audioPlayers.splice(index, 1);
|
||||
if (audioPlayers.length === 0) {
|
||||
nextTime = -1;
|
||||
if (typeof audioCycleInterval !== 'undefined') clearTimeout(audioCycleInterval);
|
||||
if (audioCycleInterval !== undefined) clearTimeout(audioCycleInterval);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user