For playing tunes and enhancing your server's vibe. This README provides a comprehensive guide on setting up and using vibe-bot.
Ensure you have the following dependencies installed:
{
"dependencies": {
"@discord-player/extractor": "^4.4.6",
"@discordjs/opus": "^0.9.0",
"@discordjs/voice": "^0.16.1",
"discord-player": "^6.6.7",
"discord-player-youtubei": "^1.1.8",
"discord.js": "^14.14.1",
"ffmpeg-static": "^5.2.0"
}
}
Clone the repository. Install dependencies using npm install. Create a config.json file with your Discord bot token, the Discord server's ID, your bot's ID, and the bot chat channel ID.
{
"token": "YOUR_BOT_TOKEN",
"guild_id":"DISCORD_SERVER_ID",
"client_id":"BOT_ID",
"bot_chat_channel_id":"BOT_CHAT_CHANNEL_ID"
}
Run the bot with node yourBotFileName.js.
/play
Play a song from YouTube via URL or Text Query. If there's a queue, the song will be added to it for future playback.
Usage:
/play <query or URL>
/skip
Skip the currently playing song. If no songs are left in the queue, vibe-bot will leave the voice channel.
/stop
Stop the player, clear the queue, and disconnect vibe-bot from the voice channel.
/queue
Display the songs currently in the queue.
/shuffle
Shuffles the songs currently in the queue.
/help
Reveal all available slash commands for vibe-bot.
If you need help, encounter a bug, or have suggestions for additional features, please reach out!
Happy vibing with vibe-bot! 🎶✨