mirror of
https://github.com/hazemKrimi/discord-bot.git
synced 2026-05-01 18:30:25 +00:00
added queue system
This commit is contained in:
@@ -7,11 +7,15 @@ module.exports = class Leave extends Command {
|
||||
memberName: 'leave',
|
||||
group: 'music',
|
||||
description: 'leaves a voice channel',
|
||||
guildOnly: true
|
||||
guildOnly: true,
|
||||
throttling: {
|
||||
usages: 1,
|
||||
duration: 5
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
async run(message) {
|
||||
run = message => {
|
||||
if (!message.member.voice.channel) return message.reply('you need to join a channel!');
|
||||
|
||||
const voiceChannel = message.member.voice.channel;
|
||||
|
||||
Reference in New Issue
Block a user