mirror of
https://github.com/hazemKrimi/discord-bot.git
synced 2026-05-01 18:30:25 +00:00
8 lines
269 B
JavaScript
8 lines
269 B
JavaScript
module.exports = {
|
|
name: 'join',
|
|
description: 'joins a voice channel',
|
|
execute: async (message, voiceChannel, args) => {
|
|
if (!voiceChannel) return message.reply('you need to join a channel!');
|
|
connection = await voiceChannel.join();
|
|
}
|
|
}; |