diff options
| author | 8cy <[email protected]> | 2020-04-19 06:40:16 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-19 06:40:16 -0700 |
| commit | ed6e347bbcce356bde0cfeba498dab3d39a6c946 (patch) | |
| tree | 419225e81e9a3967ccf6f385a6e1c9c204d0b19c /src/bot.ts | |
| parent | link favi, v7.2.4 (diff) | |
| download | dep-core-test-2b2t.tar.xz dep-core-test-2b2t.zip | |
fix on a rainy day, added most of the supporttest-2b2t
issue, TypeError: Cannot read property 'end' of undefined when trying to stop
Diffstat (limited to 'src/bot.ts')
| -rw-r--r-- | src/bot.ts | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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({ |