discord-player-play-dl/src/Structures/Track.ts

12 lines
256 B
TypeScript
Raw Normal View History

2021-04-06 20:38:17 +05:00
import { Player } from '../Player';
2021-04-04 22:36:40 +05:00
2021-04-06 20:38:17 +05:00
export class Track {
2021-05-01 13:28:24 +05:00
public readonly player: Player;
2021-04-04 22:36:40 +05:00
2021-05-01 13:28:24 +05:00
constructor(player: Player, data: any) {
2021-04-06 17:58:46 +05:00
Object.defineProperty(this, 'player', { value: player, enumerable: false });
2021-04-06 17:55:29 +05:00
}
2021-04-04 22:44:45 +05:00
}
2021-04-06 20:38:17 +05:00
export default Track;