From 5d5fd03997f777326b2a84fb2482ea53afb7a24e Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Fri, 11 Jun 2021 16:20:04 +0545 Subject: [PATCH] feat(Structures): basic setup --- src/Structures/Playlist.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/Structures/Playlist.ts b/src/Structures/Playlist.ts index cb0ff5c..69eafab 100644 --- a/src/Structures/Playlist.ts +++ b/src/Structures/Playlist.ts @@ -1 +1,15 @@ -export {}; +import { Player } from "../Player"; +import { Track } from "./Track"; + +class Playlist { + public readonly player: Player; + public tracks: Track[]; + + constructor(player: Player, tracks: Track[]) { + this.player = player; + this.tracks = tracks ?? []; + } + +} + +export { Playlist };