summaryrefslogtreecommitdiff
path: root/commands/abee.js
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-10 10:16:53 -0700
committer8cy <[email protected]>2020-04-10 10:16:53 -0700
commit4b308538961facb87d73fafeab7fab5927562eff (patch)
tree8eaf88c074c379d76e7932e6fc3f32c05adb70ca /commands/abee.js
parentrework reboot, work on itemshop, v1.5.2 (diff)
downloads5nical-4b308538961facb87d73fafeab7fab5927562eff.tar.xz
s5nical-4b308538961facb87d73fafeab7fab5927562eff.zip
port to commando/ v12, 2.0.0
ported everything over to v12 and then commando in the span of 2 days no sleep lol. also now using typescript standard for cool 8)
Diffstat (limited to 'commands/abee.js')
-rw-r--r--commands/abee.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/commands/abee.js b/commands/abee.js
deleted file mode 100644
index ced7c10..0000000
--- a/commands/abee.js
+++ /dev/null
@@ -1,25 +0,0 @@
-const ytdl = require('ytdl-core');
-const voice_check_dialog = require('../utils/voice_check_dialog.js');
-
-module.exports = {
- name: 'abee',
- aliases: ['a-bee'],
- description: '',
- async execute(msg, args, bot) {
- if (msg.member.voiceChannel && !msg.guild.voiceConnection) {
- const connection = await msg.member.voiceChannel.join();
- const stream = ytdl('https://www.youtube.com/watch?v=lvdnhWhQBdo', {
- filter: 'audioonly'
- });
- const dispatcher = connection.playStream(stream, {
- volume: 0.5
- });
-
- dispatcher.on('end', () => {
- msg.member.voiceChannel.leave();
- });
- } else {
- voice_check_dialog.execute(msg);
- }
- }
-}; \ No newline at end of file