Pokemon Showdown Bot
Tesla requires Node.js version 7.0.0 or later and a command line (e.g. Command Prompt
on Windows or Terminal
on Mac OS/Linux) to run. Once you have compatible software, complete installation by following these steps:
- Cloning a copy of Tesla
You can do this through the GitHub client by clicking the "Clone or download" button on the home page of the repository and then clicking "Open in Desktop". You can also use the following Git command:
git clone https://github.com/HiTechFlufi/Tesla.git
- Navigate to the root directory
The remaining steps will take place in the root directory of your Tesla files. Navigate there with the command:
cd DIRECTORY
Replace DIRECTORY
with the filepath to your directory (e.g. C:\Users\HiTechFlufi\Documents\GitHub\Tesla
).
- Install dependencies
Run the following command to install required dependencies:
npm install --production
If you plan to contribute to development, run the command without the --production
flag to also install dependencies used for testing.
- Set up the config file
Copy and paste the config-example.js
file, rename it to config.js
, and open it in your text editor to enter your desired information.
From this point on, you can start the bot by running the following command:
node app.js
The community is allowed to open issues and create pull requests for Tesla to assist in development. Before submitting a pull request, be sure that you have installed development dependencies and ran npm test
in the terminal to check for errors in your code.
- Zach Hartin (@HiTechFlufi) - Primary Developer
- Pokemon Showdown - In-game data files, Tools module, and various helper functions
- Quinton Lee (@sirDonovan) - Base/Starting Code from Cassius
- Charlie Kobayashi (@sparkychild) - Additional commands/functionalities from FoxieBot
Tesla is distributed under the terms of the MIT License.