Active development has discontinued. Feel free to contact me if you need help starting an instance of this bot on your own.
%asbility: returns information about a given ability
%asbitem: returns information about a given item
%asbmove: returns information about a given move
%asbnature: returns information about a given nature
%asbstats: returns stats of a given pokemon
%asbtype: returns information about a given type
%calc: evaluates an expression
%ping: responds pong, useful for checking if bot is alive
%pong: responds pong, useful for checking if bot is alive
%roll: gives a random number
%help: gives a list of commands
And much more! Try %help to get a full list of available commands
This bot is written to run on top of node.js. Please see https://nodejs.org/en/download/
Once you have node installed running npm install
from the bot directory should install all the needed packages. If an error happens something went wrong
Before you run the bot you will need to download the latest spreadsheet. You can manually download it here and then place it into the res folder as Data.xlsx.
OR
You can run the updater programs in the updater folder. downloadFile.js is a Node.js command line program that will use your google account to authorize the dowloading of the data. Then you can optionally run errorCheck.java to ensure the file you downloaded isn't corrupted.
Anyways, you need to get the data for the bot into the res folder somehow. I personally use a cron job to redownload the data file every few days so my instance of the bot is updated for my users
To start the bot just run
node app.js
.
inside of src/bot. I personally use pm2 to manage my bots. I use the same cron job from earlier to restart the bot and update it using the scripts I gave you in the scripts folder.
If you update the bot, please run npm update
before starting it again. If you have
issues with this, you can try deleting your node_modules folder and then running
npm install
again. Please see Installation.
The boys and girls at CAP ASB who have been using the bot and finding all the bugs for me
My friend who initally asked if this project was possible @endless in the discord channel