Giter Club home page Giter Club logo

pungabot's Introduction

pungaBot

Description

A pure python IRC bot ,using the Twisted matrix IRC library Its based on of pyfibot (http://code.google.com/p/pyfibot/) by Riku Lindblad

This version includes:

  • user authentication (using sqlite as db)
  • public & private messages handling
  • twitter integration
  • a couple of new usefull modules
  • ssl support

Python libraries needed

Also, if you are using virtualenv, you can use provided "requirements.txt" file

Usage

$ cd pungabot
$ vi bot.config
$ python pungabot.py 

The last step will notify if you're missing any libraries

Documentation

See the /doc directory for howtos

License

This package is distributed under the BSD. See also LICENSE.


federico reiven [email protected]

pungabot's People

Contributors

luciotorre avatar reiven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

gflerm luciotorre

pungabot's Issues

Stuck with this error, any hint in good direction would be very appreciated

Hello when i do python pungabot.py i get this very annoying error report that i can't get passed one. the setup has all requirements to my knowledge, i probably missing something very obvious, i would appreciate any hints to get back on good direction.

2013-07-06 16:38:03,710 INFO core load module - module_noticia.py
2013-07-06 16:38:03,743 INFO core load module - module_alias.py
2013-07-06 16:38:03,744 INFO core initialize module - module_alias.py
Traceback (most recent call last):
File "pungabot.py", line 537, in
reactor.connectTCP(settings['server'], port, factory)
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 483, in connectTCP
c.connect()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1022, in connect
self.factory.doStart()
File "/usr/lib/python2.7/dist-packages/twisted/internet/protocol.py", line 53, in doStart
self.startFactory()
File "pungabot.py", line 291, in startFactory
self._loadmodules()
File "pungabot.py", line 376, in _loadmodules
env'init'
File "/home/blue/pungabot/modules/module_alias.py", line 8, in init
dbCursor.execute("SELECT alias, command FROM ALIASES")
pysqlite2.dbapi2.OperationalError: no such table: ALIASES

is it possible to specify a SSL port to connect to ?

not sure if its related to that, but connection failed ([Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 111: Connection refused.
]): reconnecting in 60 seconds

seem my bot.config is fine now...but i cant connect to that specific irc server.

bot.config

it seems there is no bot.config with examples in it?

and without it bot fails

help?

Thanks

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.