GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lc-guy/ASBot: Bot for the #capasb channel on SynIRC.

This repository was archived by the owner on Dec 4, 2019. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

238 Commits
238 Commits

Folders and files

NameName
Last commit message
Last commit date
plugins
plugins
 
 
utils
utils
 
 
.gitignore
.gitignore
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
LICENSE
LICENSE
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
To-do.md
To-do.md
 
 
bot.rb
bot.rb
 
 

Repository files navigation

ASBot

This is the source code for the IRC bot on SynIRC's #capasb channel, accessible here. The official instance is permanently down, due to CAP ASB no longer using IRC.

Installation

Heroku usage is assumed. Why, you might ask? Because I have no dedicated server, so I built this bot around being run on a heroku dyno (including the various workarounds for some of the engine's, let's say, interesting quirks). Shouldn't be too hard to modify the relevant parts if you're running this at home, though.

$ bundle install

Afterwards, you need to set a few environment variables on your system. These are botircnick, botircpass, githubnick, githubpass, googledrivelogin p12pass, smogon_username, quotes_url, and smogon_password.

quotes_url should be a valid link to a Github Gist with a file named quotes.rb created by the user whose username is in githubnick.

googledrivelogin should be the email for your oauth service account credentials.

p12pass should be the password for your oauth p12 credentials.

You also need to put a "google_key.p12" file in the utils/ folder, which should be the credentials for the app on google developers console.

Usage

$ ruby bot.rb

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

License

About

Bot for the #capasb channel on SynIRC.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.