AgustinSRG / Pokemon-Showdown-Node-Bot

Pokemon Showdown Bot for Node (Deprecated)
Other
34 stars 150 forks source link

Pokemon Showdown Bot for Node (Deprecated)

This project is deprecated and no longer maintained.

This is the original bot project for the Spanish room of Pokemon Showdown, based on TalkTakesTime's bot. However it was replaced in 2016 by a rework: Showdown-ChatBot.

If you are still interested in a Pokemon Showdown Bot, you can try the following options:

This repository is being archived.


This is a Pokemon Showdown bot written in JavaScript for Node

This bot is based on commands and features, which are explained here. This is intended to ease bot configuration and customization, separating commands in multiple files, multiple features in different folders and merging functions in Global Objects like Bot, CommandParser or Settings. This bot also works in multiple languages at the same time, useful for language rooms.

Features included in this package:

Installation

Pokémon Showdown Bot requires node.js to run. Install the last stable version if you do not have it.

The first step is cloning this repo, install Git if you have not it and use the following command on shell console:

$ git clone --branch=master git://github.com/Ecuacion/Pokemon-Showdown-Node-Bot.git Pokemon-Showdown-Node-Bot

You can also download a Zip of this repo and decompress it.

Then open a shell console, use cd to reach the directory of the bot and install dependencies:

$ npm install --production

If you want to use npm test for developement, install all dependencies with npm install

To configure your bot, copy config-example.js to config.js and edit that file. You can specify bot login credentials among other things. If you don't specify credentials, the bot will log in a random username started by 'Bot'. Read the Configuration Guide for more information

Now, to start the bot use:

$ node bot

if you have an old version of Pokemon Showdown Node Bot and you want to update it, you can use:

git pull https://github.com/Ecuacion/Pokemon-Showdown-Node-Bot.git

Don't forget to use npm install --production after each update to re-install the outdated dependencies.

Configuration

Check the configuration guide for more information.

Connection Details

Crashguard

Watchconfig

Login Details

Rooms

Auth Config

Commands Config

Language Config

Console Config

Credits

Contributors:

Part of this code is imported from other developments, so credits to: