Coder Social home page Coder Social logo

twircbot's Introduction

#twircBot

The TWitch IRC Bot is a basic bot that connects to Twitch.tv's IRC network for the purposes of keeping chat logs.

##Running twircBot
###Default configuration
twircBot can be run by simply using the start() method.

from twircbot.twircbot import TwircBot  
TwircBot().start()  

twircBot's default configuration is not very interesting. It will anonymously connect to the #twircbot channel and log whatever chat it sees there. You can get more useful behavior by specifying your own configuration file and referencing it when you instantiate twircBot: TwircBot("myFile.config").start().

The source includes a simple script, runTwircBot.py, that will automatically open a connection. It will optionally take a command line argument to use a particular configuration:

$ runTwircBot.py                    # Default config  
$ runTwircBot.py myFile.config      # User-specifed config  

###User-specified configuration
The source includes a sample configuration file: config/sample.config. That should be enough to get most people up and running quickly. Check out the documentation for more details on configuring twircBot.

##What about Python versions?
twircBot is currently being developed under Python 3.5.1. It is explicitly incompatible with Python 2.x, and probably always will be.

twircbot's People

Contributors

johnmarcampbell avatar

Watchers

James Cloos avatar  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.