2021-05-10 09:58:37 +05:00
|
|
|
import { Message } from 'discord.js';
|
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-10 09:58:37 +05:00
|
|
|
readonly player: Player;
|
|
|
|
readonly message: Message;
|
2021-06-10 00:27:29 +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;
|