summaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 6ebb614..4726acf 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -1,8 +1,8 @@
import config from './config.json';
import { CommandoClient } from 'discord.js-commando';
-import WS from './ws/ws';
+//import WS from './ws/ws';
import path from 'path';
-import { Structures, MessageAttachment } from 'discord.js';
+import { Structures } from 'discord.js';
import emoji from 'emoji-random';
Structures.extend('Guild', Guild => {
class MusicGuild extends Guild {
@@ -24,7 +24,7 @@ const client = new CommandoClient({
owner: '217348698294714370'
});
-var ws = new WS('123456', process.env.PORT, client)
+//var ws = new WS('123456', process.env.PORT, client)
client.registry
.registerDefaultTypes()
@@ -35,7 +35,8 @@ client.registry
['voice', 'Voice Command Group'],
['nsfw', 'NSFW Command Group'],
['anime', 'Anime Command Group'],
- ['crypto', 'Crypto Command Group']
+ ['crypto', 'Crypto Command Group'],
+ ['2b2t', '2B2T Command Group']
])
.registerDefaultGroups()
.registerDefaultCommands({