Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

KamilaBorowska/PSDevBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokemon Showdown Development Bot

This bot receives commit data from GitHub, and posts in the Showdown chat.

It can be configured using npm config set psdevbot:PROPERTY_NAME. There are properties that can be configured for a bot.

  • nickname - specifies nickname used for the bot on Showdown
  • password - specifies password of given account
  • room - specifies room to join
  • secret - secret specified during webhook creation. To generate one, use ruby -rsecurerandom -e 'puts SecureRandom.hex(20)' command.
  • webhookport - port on which bot listens (default 3420)
  • server - server address (default sim.smogon.com)
  • serverport - server port (default 8000)
  • serverid - server identifier used for logins (default showdown)

To set repository to trigger bot, access settings panel, pick "Webhooks & Services", select "Add webhook", set payload URL to http://bot-hosting-url.example:3420/github/callback, leave content type as application/json, set secret to specified value, and pick "Push" and "Pull Request" events as events to react to.

To run the bot, use npm start.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published