summaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-24 21:37:39 -0700
committer8cy <[email protected]>2020-04-24 21:37:39 -0700
commit414e0816332fd5575efb3a7bc0917306c4396fbe (patch)
treec6a63a435d2cbe0cf13d60558e23885ecfc7f062 /src/models
parentbig changes, too lazy to count, v7.6.0 (diff)
downloaddep-core-414e0816332fd5575efb3a7bc0917306c4396fbe.tar.xz
dep-core-414e0816332fd5575efb3a7bc0917306c4396fbe.zip
move music manager to import, v7.7.0
Diffstat (limited to 'src/models')
-rw-r--r--src/models/MusicGuild.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/models/MusicGuild.ts b/src/models/MusicGuild.ts
new file mode 100644
index 0000000..f425fe2
--- /dev/null
+++ b/src/models/MusicGuild.ts
@@ -0,0 +1,15 @@
+import { Structures } from 'discord.js';
+export = Structures.extend('Guild', Guild => {
+ class MusicGuild extends Guild {
+ constructor(client, data) {
+ super(client, data);
+ this.musicData = {
+ queue: [],
+ isPlaying: false,
+ volume: 1,
+ songDispatcher: null
+ };
+ }
+ }
+ return MusicGuild;
+}); \ No newline at end of file