summaryrefslogtreecommitdiff
path: root/src/commands/voice/abee.ts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-06-27 22:52:54 -0700
committer8cy <[email protected]>2020-06-27 22:52:54 -0700
commit80951013e391aab140800e4f386867e6c391553f (patch)
tree3d7101237ef1cd8d6fe2a2fab751a2dc55ae7d84 /src/commands/voice/abee.ts
parentmore config shit (diff)
downloaddep-core-80951013e391aab140800e4f386867e6c391553f.tar.xz
dep-core-80951013e391aab140800e4f386867e6c391553f.zip
add ts defs so not a lot of errors left
- made .todo file for epic error tracking
Diffstat (limited to 'src/commands/voice/abee.ts')
-rw-r--r--src/commands/voice/abee.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commands/voice/abee.ts b/src/commands/voice/abee.ts
index 628909c..cca429f 100644
--- a/src/commands/voice/abee.ts
+++ b/src/commands/voice/abee.ts
@@ -1,14 +1,16 @@
import ytdl from 'ytdl-core';
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
import { MessageEmbed } from 'discord.js';
+//@ts-ignore no types
import Youtube from 'simple-youtube-api';
//const { youtubeAPI } = require('../../config.json');
import config from '../../config.json';
const youtube = new Youtube(config['yt-api-key']);
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class ABeeVoice extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'abee',
aliases: ['a-bee'],