diff options
| author | 8cy <[email protected]> | 2020-04-24 21:37:39 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-24 21:37:39 -0700 |
| commit | 414e0816332fd5575efb3a7bc0917306c4396fbe (patch) | |
| tree | c6a63a435d2cbe0cf13d60558e23885ecfc7f062 /src/bot.ts | |
| parent | big changes, too lazy to count, v7.6.0 (diff) | |
| download | dep-core-414e0816332fd5575efb3a7bc0917306c4396fbe.tar.xz dep-core-414e0816332fd5575efb3a7bc0917306c4396fbe.zip | |
move music manager to import, v7.7.0
Diffstat (limited to 'src/bot.ts')
| -rw-r--r-- | src/bot.ts | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -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!', |