- !emerg -> Show whole weekend emergency
- !twit -> Show number of tweets from @pso2_emg_hour (Number too big may not work), default is 2
- !help -> Show available commands
- !update -> Update event cache
- !re -> Reset the event name list
This bot could only parse the emergency events table on PSO2 wiki now.
- npm
Clone this project and install packages
npm install
Create a file named config.json and paste this on
{
"token": "YOUR_APP_TOKEN_HERE"
}
Run server
node pso-parser/bot.js
- Goto Discord Developer Console.
- Create your new app.
- Replace the client ID in url with your own APP's client ID and goto https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=0
- Add the bot to your server.