summaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts16
1 files changed, 1 insertions, 15 deletions
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!',