mirror of
https://github.com/hazemKrimi/discord-bot.git
synced 2026-05-01 18:30:25 +00:00
8 lines
261 B
JavaScript
8 lines
261 B
JavaScript
module.exports = {
|
|
name: 'join',
|
|
description: 'joins a voice channel',
|
|
execute: async (message, voiceChannel, args) => {
|
|
connection = await voiceChannel.join();
|
|
connection.play('https://www.youtube.com/watch?v=Hl1s4BT9Fc4');
|
|
}
|
|
}; |