Simple Bot for MM Gamer discord server
- Youtube Feed
- Music
- Ticket
- Suggestion
- Info
- Self Roles
- Afk
- Report
- Node.js (v16.9.0 or higher)
- Discord.js (v14.x or higher)
- Mongoose (v6.x or higher)
- Express (4.x or higher)
- The code is not made for self hosting
- Clone the repository and go to the directory
- run
npm install
to install all dependencies - Configure the
config.json
file
{
"activityType": "Put activity type here",
"activityName": "Put activity name here",
"botColor": "Put HEX here",
"errColor": "Put HEX here",
"DeveloperIDs": ["Put Developer Id here"]
}
- Configure the
.env
file
PORT=Your port number
botToken=Your bot token
guildIds=["Your guild id", ""]
mongooseConnectionString=Your mongoose connection string
LAVALINK_IDENTIFIER=["Node 1", "Node 2"]
LAVALINK_HOST=["in.example.com", "us.example.com"]
LAVALINK_PASSWORD=["Password 1", "Password 2"]
SPOTIFY_CLIENT_ID=Your spotify client id
SPOTIFY_CLIENT_SECRET=Your spotify client secret
YT_hubCallback=Your youtube callback url
YT_SECRET=Your youtube secret
environment=Your environment
- Run
npm start
to start the bot directly - Run
npm run build
to build the project and then runnpm start:prod
to start the bot
This project uses MongoDb for database
MIT License (c) 2022 DeveloperLand
Contributing to this project is welcomed.