Git Product home page Git Product logo

verychallengedbot's Introduction

Pokemon-Showdown-Bot

This repository has been abandonned, and will no longer be updated. Technical support for for this will no longer be given. Please refer to https://github.com/sparkychild/FoxieBot/ instead.

A chat bot for Pokémon Showdown. This bot has a number of commands, some helpful and some less so, as well as the capability to mod. It only reacts to basic offences such as flooding/caps/stretching.

Guide

Special features of this bot is the Translation API that allows it to function in many languages. It also includes many games and features that boTTT didn't have. This bot is somewhat similar to a Showdown server, in the sense that it has it's own 'bot' moderating it (ResourceMonitor) and a hierarchy of ranks of users to control the bot's activity. All commands can be disabled, to prevent spam or for development purposes.

The bot is also capable in battling in several metagames.

A pastebin guide to the bot's features can be found here

data/ranks.txt

Under the folder data, create a new file called ranks.txt and put the following in:

~username

with username being your username, followed by an empty line.

Installation

Pokémon Showdown Bot requires node.js to run. This bot has not been tested on every node.js version possible, but has the same version requirements as Pokémon Showdown: either v0.6.3 through v0.8.22, or v0.10.2 and up. Install node.js if you don't have it yet, try the last stable version.

Next up is cloning this bot. This can be done in two ways: cloning it via git or downloading as ZIP. Downloading it as ZIP is the easy and lazy way, but is a lot less handy to update than cloning this repository.

To install dependencies, run:

npm install

Copy config-example.js to config.js and edit the needed variables. To change the commands that the bot responds to, edit commands.js.

In the folder 'data', create a file and call it ranks.txt and add '~' plus your name in lowercase letters only (no spaces) on the first line. This will give you admin priviledges on your bot.

Now, to start the bot, use:

node main.js

Some information will be shown, and will automatically join the room(s) you specified if no error occurs.

If any of your commands rely on information normally sent to the Pokémon Showdown Client (e.g. functions that execute based on PM that aren't directly related to normal commands), you will need to make changes to the message method in parser.js under the appropriate case.

Development

Everyone is more than welcome to contribute to the bot. However, please refrain from adding more example commands.

Owner:

  • sparkychild

Credits:

  • Morfent (Development)
  • TalkTakesTime (Development)
  • Quinella (Development)

License

Pokémon Showdown Bot is distributed under the terms of the MIT License.

verychallengedbot's People

Contributors

irraquated avatar austinxii avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.