mirror of
https://github.com/hazemKrimi/discord-bot.git
synced 2026-05-01 18:30:25 +00:00
edited the join command
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = class JoinCommand extends Command {
|
||||
|
||||
if (!voiceChannel) return message.reply('you need to join a channel!');
|
||||
|
||||
const connection = await voiceChannel.join();
|
||||
await voiceChannel.join();
|
||||
|
||||
return message.say('joined!');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user