Code Monkey home page Code Monkey logo

wheatley's Introduction

README

What is this repository for?

  • This is a PIRCBOTX IRC bot that I made to learn java, now its a project of different experimentation and play with IRC bots
  • Bot commands are available with descriptions of what they do

Docker Environment

All of the environment variables the bot loads from docker are put into the configuration files at first start. If the config files exist, then these will not be used, and the config file settings will be used instead.

  • BOT_CONFIG_FOLDER
    • The path to use for all of the files needed by the bot
  • BOT_NICK
    • The nickname to use on IRC, this is loaded into the configuration file and should be updated there after the first startup
  • BOT_PASSWORD
    • The nickname to use on IRC, this is loaded into the configuration file and should be updated there after the first startup
  • BOT_OWNER_NICK
    • The nickname to use on IRC, this is loaded into the configuration file and should be updated there after the first startup
  • BOT_IRC_PORT
    • The IRC server port, this is loaded into the configuration file and should be updated there after the first startup
  • BOT_LOGIN
    • The nickname to use on IRC, this is loaded into the configuration file and should be updated there after the first startup
  • BOT_IRC_ADDRESS
    • The IRC server address, this is loaded into the configuration file and should be updated there after the first startup
  • BOT_CHANNEL_LIST
    • A comma separated list of channels to join, this is loaded into the configuration file and should be updated there after the first startup
  • BOT_IRPG_HOST_BOT_NAME
    • the IRPG hosting bot name, used when logging into IRPG, this is loaded into the configuration file and should be updated there after the first startup
  • BOT_IRPG_CHANNEL
    • the channel to use for IRPG, this is loaded into the configuration file and should be updated there after the first startup
  • BOT_IRPG_USERNAME
    • the username that the bot should use when creating/logging into IRPG, this is loaded into the configuration file and should be updated there after the first startup
  • BOT_IRPG_PASSWORD
    • the password that the bot should use when creating/logging into IRPG, this is loaded into the configuration file and should be updated there after the first startup
  • BOT_IRPG_USER_CLASS
    • the bots IRPG class, used when creating an account for IRPG, this is loaded into the configuration file and should be updated there after the first startup

Building Wheatley

  • Building can be done using ant or docker
    • docker build . -t wheatley
    • ant clean-build
  • .jar dependencies are included in the repo to provide a baseline configuration

Contribution guidelines

  • Follow the general style of the latest commits, style has changed a few times since this was started and not everything is setup the same way
  • Pull requests will be reviewed before accepting

wheatley's People

Contributors

aerosteveo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wheatley's Issues

RPN errors

!rpn 1 12 *
Exception! EmptyStackException: null

s//

s/text_old/text_new

s/.*/something_here does a double replacement. This is a known issue with java text replacement. A fix to this edge case can be hardcoded easily. For example, if (text_old.equals(".*")) { message = text_new;} else { do the replacement like normal }

s/text_old/[empty] does not replace text_old with "poop". This is a code regression and it would be nice if it were once again updated to the more popular standard.

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.