Pokemon Showdwon Bot written in ECMAScript 6
Pokemon Showdown bot written for Node JS with a ton of features often useful for chat rooms like automated moderation, blacklist, customizable help / information commands, games, tournament tools and chat logs. All of those features can be configured with a web control panel that does not require any programming knowledge to be used.
Tools
option, Backups
sub-option.Battle Bot
option./invite
message sent to the staff (for private rooms).seen
and alts
commands to easily find other users.helix
, etc.The simplest way to run this project is with Docker compose, using the official Showdown-ChatBot image on Docker Hub.
First, make sure to install Docker and Docker compose in your system. You can also install other runtime, like Podman, but the commands may vary.
Create a file named docker-compose.yml
, and copy the following content into it:
version: '3.9'
services:
bot:
image: asanrom/showdown-chatbot
ports:
- '8080:8080'
- '443:443'
volumes:
- ./config:/bot/config
- ./data:/bot/data
- ./logs:/bot/logs
- ./instances:/bot/instances
environment:
- DEFAULT_ADMIN_USERNAME=Admin
- DEFAULT_ADMIN_PASSWORD=admin
restart: unless-stopped
command: -p 8080 -b 0.0.0.0
If you want to use a different port for the control panel, make sure to replace 8080
with the port you want.
Once you have the docker-compose.yml
, in order to start the bot, open a terminal / command prompt in the folder where the file is located, and type the following command:
docker compose up -d
Configure your bot using the control panel. You can use the Basic Configuration Guide as help.
If you want to keep the image updated to the latest version automatically, you can use a tool like Watchtower. You can also pull the image and restart the containers manually:
# Update the image and restart the containers
docker compose pull
docker compose up -d
Showdown ChatBot requires node.js to run. It is recommended to install the latest stable version to avoid bugs.
Install Git if you do not have it.
Open a terminal / console and clone this repository with the following command:
git clone https://github.com/AgustinSRG/Showdown-ChatBot.git Showdown-ChatBot
If you have an old version of Showdown-ChatBot and you want to update it, use cd
to reach the directory of the bot and run:
git pull https://github.com/AgustinSRG/Showdown-ChatBot.git
You also can download the last release of Showdown-ChatBot and decompress it if you prefer not using git
Use cd
to reach the directory of the bot and run the following command to install dependencies:
npm install
To start the bot, use the following command:
npm start
Configure your bot using the control panel. You can use the Basic Configuration Guide as help.
If you want to stop your bot, use Ctrl + C
or kill the process by other way.
For more guides and documentation, check the Showdown-ChatBot Wiki
Add-ons are like optional modules you can install for your bot. They are rather limited and have no translation feature but they can be used to add custom commands and very specific features to your bot. Some public add-ons here.