rename player

This commit is contained in:
Snowflake107 2021-06-20 20:11:16 +05:45
parent fcd8a8e186
commit 141cb5f880

View file

@ -16,7 +16,7 @@ import { generateDependencyReport } from "@discordjs/voice";
const soundcloud = new SoundCloud(); const soundcloud = new SoundCloud();
class DiscordPlayer extends EventEmitter<PlayerEvents> { class Player extends EventEmitter<PlayerEvents> {
public readonly client: Client; public readonly client: Client;
public readonly options: DiscordPlayerInitOptions = { public readonly options: DiscordPlayerInitOptions = {
autoRegisterExtractor: true, autoRegisterExtractor: true,
@ -456,4 +456,4 @@ class DiscordPlayer extends EventEmitter<PlayerEvents> {
} }
} }
export { DiscordPlayer as Player }; export { Player };