summaryrefslogtreecommitdiff
path: root/commands/itemshop.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/itemshop.js')
-rw-r--r--commands/itemshop.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/itemshop.js b/commands/itemshop.js
index 838d4f4..b05cb2c 100644
--- a/commands/itemshop.js
+++ b/commands/itemshop.js
@@ -2,6 +2,7 @@ const ytdl = require('ytdl-core');
module.exports = {
name: 'itemshop',
+ aliases: ['is'],
description: '',
async execute(msg, args, bot) {
if (msg.member.voiceChannel && !msg.guild.voiceConnection) {
@@ -12,14 +13,13 @@ module.exports = {
const dispatcher = connection.playStream(stream, {
volume: 0.5
});
-
+
+ // dispatcher.time >= 6000
dispatcher.on('end', () => {
msg.member.voiceChannel.leave();
});
- } else if (msg.guild.voiceConnection) {
- msg.reply('i\'m already playing that lol');
} else {
- msg.reply('you need to join a voice channel first silly');
+ voice_check_dialog.execute(msg);
}
}
}; \ No newline at end of file