Hopefully a better version of the Mettaton music bot.
Report Bug
.
Request Feature
This bot was built using discord.js, if you are having trouble setting up your bot, refer to this guide.
- Node.js
- Bot token (see above).
- Create your bot on the discord developer portal and add it to a server by modifying and using the following link:
https://discord.com/api/oauth2/authorize?client_id= < discord id of the bot > &permissions=103885840&scope=bot%20applications.commands
Example:
https://discord.com/api/oauth2/authorize?client_id=123456789101112131&permissions=103885840&scope=bot%20applications.commands
- Clone the repo.
git clone https://github.com/SKOWisp/MettatonV3.git
- Navigate to the newly created MettatonV3 folder and install the NPM packages.
npm install
- Inside this folder, create a file named '.env' with the following information:
BOT_TOKEN= < your bot token >
CLIENT_ID= <discord id of the bot >
GUILD_ID= < discord id of the server where you'll add the bot >
MAX_SONGS= < max number of songs that can be added to the queue >
SEARCH_LIMIT= < search limit for the ytsr module >
TOLERANCE= < minutes of tolerance before auto-disconnecting >
DEGEN= < username of person you want to troll >
Example:
BOT_TOKEN=MTEzMTQ0MDY4MjczNzg2NDgwNw.GtafFR.4SV4PvdHiWZqzIZBIj5LfK3cGW1p68xIScPIPc
CLIENT_ID=123456789101112131
GUILD_ID=131211101987654321
MAX_SONGS=150
SEARCH_LIMIT=20
TOLERANCE=3
DEGEN=skowisp
- Open a command prompt in the folder and run:
npm run build
npm run deploy
This will generate a folder called 'dist' in which you'll find a file called 'Bot.js'. Run this file to start the bot.
node dist/Bot.js
Done! Hop into a voice channel and use the /play command.
Distributed under the MIT License. See LICENSE for more information.
- Román T. Vidal Tamayo - Physics Student - GitHub - Owner