Giter Site home page Giter Site logo

wolfbot's Introduction

Wolfbot

Use Python 3.2 (3.1 doesn't work)

Running

  1. Install Python (min. 3.2)
  2. Copy botconfig.py.example to botconfig.py and modify to your heart's content.
  3. If desired, configure settings/wolfgame.py to modify game settings.
  4. Run the bot: python wolfbot.py

Auto-Update / Git Integration

If looking to use the auto-update feature, you need the Git shell.

  • On Windows, you can download the Git shell at http://git-scm.com/download/win
  • On Ubuntu/Debian systems, apt-get install git then git clone http://github.com/Vgr255/Wolfbot.git
  • Mac users should install Homebrew, then can use brew install git in a terminal.

You don't need to do git pull as the bot will do that as long as git is installed.

You can clone the repository, or fork it. The IRC service needs to be enabled.

Whenever GitHub's commit IRC bot joins and says there's an update, it downloads it, provided ALLOW_GIT is set to True in .\settings\wolfgame.py

wolfbot's People

Contributors

nasonfish avatar vgr255 avatar zarthus avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

nasonfish

wolfbot's Issues

Auto op/deop

Make the bot automatically deop an op on join and reop it on game end/quit if not during game.

on_whoreply() takes 8 arguments, 4 given.

(15:46:04) <@Wolfbot> Traceback (most recent call last):
(15:46:04) <@Wolfbot>   File "/home/wolfbot/Wolfbot/modules/common.py", line 97, in __unhandled__
(15:46:05) <@Wolfbot>     fn(cli, prefix, *largs)
(15:46:05) <@Wolfbot>   File "/home/wolfbot/Wolfbot/tools/decorators.py", line 34, in innerf
(15:46:06) <@Wolfbot>     return f(*largs)
(15:46:06) <@Wolfbot> TypeError: on_whoreply() takes exactly 8 arguments (4 given)
(15:46:07) <@Wolfbot> Traceback (most recent call last):
(15:46:08) <@Wolfbot>   File "/home/wolfbot/Wolfbot/modules/common.py", line 97, in __unhandled__
(15:46:08) <@Wolfbot>     fn(cli, prefix, *largs)
(15:46:09) <@Wolfbot>   File "/home/wolfbot/Wolfbot/tools/decorators.py", line 34, in innerf
(15:46:09) <@Wolfbot>     return f(*largs)
(15:46:10) <@Wolfbot> TypeError: on_whoreply() takes exactly 8 arguments (4 given)

At the moment I'm not exactly sure what causes it,

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.