This is a NodeJS/Discord.js Wiki Bot for Multi Theft Auto Discord Community.
It's been a long while since I've wrote this. Sorry if it's a bit messy.
- NodeJS: https://nodejs.org/en/download/
- pm2 (optional)
- Clone the repo
git clone https://github.com/Deihim007/MTA-Wiki-Bot.git
- Install dependencies
cd MTA-Wiki-Bot
npm install
- Install pm2 (optional)
npm install -g pm2
- Set the bot token (https://discordapp.com/developers/) at the end of
index.js
file. - Run the bot using
node index.js
orpm2
if you've installed it in step 3pm2 start index.js
.