diff options
Diffstat (limited to 'commands/itemshop.js')
| -rw-r--r-- | commands/itemshop.js | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/commands/itemshop.js b/commands/itemshop.js deleted file mode 100644 index b05cb2c..0000000 --- a/commands/itemshop.js +++ /dev/null @@ -1,25 +0,0 @@ -const ytdl = require('ytdl-core'); - -module.exports = { - name: 'itemshop', - aliases: ['is'], - 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=pBiI1hTwU7E', { - filter: 'audioonly' - }); - const dispatcher = connection.playStream(stream, { - volume: 0.5 - }); - - // dispatcher.time >= 6000 - dispatcher.on('end', () => { - msg.member.voiceChannel.leave(); - }); - } else { - voice_check_dialog.execute(msg); - } - } -};
\ No newline at end of file |