From 414e0816332fd5575efb3a7bc0917306c4396fbe Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Fri, 24 Apr 2020 21:37:39 -0700 Subject: move music manager to import, v7.7.0 --- src/bot.ts | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/bot.ts') diff --git a/src/bot.ts b/src/bot.ts index 8036f07..1a05f46 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -2,22 +2,8 @@ import config from './config.json'; import { CommandoClient } from 'discord.js-commando'; //import WS from './ws/ws'; import path from 'path'; -import { Structures } from 'discord.js'; import emoji from 'emoji-random'; -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; -}); +require('./models/MusicGuild.js') const client = new CommandoClient({ commandPrefix: 'uwu!', -- cgit v1.2.3