Git Product home page Git Product logo

fsibot's Introduction

Unser Bot in ##fsi.

Maintainer: mathias_, psycon, saschaw

fsibot's People

Contributors

psy avatar psde avatar flimberger avatar bobbyt avatar timroes avatar jhamb avatar nicidienase avatar thiefmaster avatar

Stargazers

Ik4ru5 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar James Cloos avatar  avatar  avatar Andy P avatar Ik4ru5 avatar

fsibot's Issues

Bot crashes on building mensaplan

Traceback (most recent call last):
  File "bot.py", line 28, in <module>
    bot.start()
  File "core/BotCore.py", line 55, in start
    mod.tick()
  File "modules/MensaModule.py", line 118, in tick
    mensaplan = self.buildMensaplan(0)
  File "modules/MensaModule.py", line 90, in buildMensaplan
    for i in range(len(meals[dayOffset][0])):
IndexError: list index out of range

WeatherModule crashes

Module '<WeatherModule.WeatherModule object at 0x179d450>' crashed with 'AttValue: " or ' expected, line 2, column 11', removing.

Markov Module takes 100% CPU time

The bot takes 100% cpu time when someone writes something in the channel. This is not happenig if markovmodule is not loaded so it has to be something with the saving of words and relations.

Link module

A link module would be nice:

You can save a list of links in it and a shortcut for them, like:

u1 => http://www.url.de
ferz => http://example.com

and then you can use a command like: !link u1 or !link ferz to let the bot write this link to the channel.

TwitterModule crashes

Traceback (most recent call last):
  File "bot.py", line 28, in <module>
    bot.start()
  File "core/BotCore.py", line 55, in start
    mod.tick()
  File "modules/TwitterModule.py", line 85, in tick
    print "Sending to channel: [" + status.GetUser().GetScreenName() + "] " + status.GetText().replace('\n','').replace('\r','')
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 35: ordinal not in range(128)

Bot crashes on nickname in use

File "core/BotCore.py", line 65, in on_nicknameinuse
sendPrivateMessage("nickserv", "ghost " + self.nick + " " + self.nickpassword)
NameError: global name 'sendPrivateMessage' is not defined

Modules added twice

│21:24:40 @psycon | http://www.youtube.com/watch?v=JEpO0VI2VPQ
│21:24:41 @fsiBot | [www.youtube.com] Dimitri Vegas, Like Mike, Yves V & Angger Dimas - Madagascar (Original Mix) - YouTube
│21:24:47 @psycon | !mod add linktitle
│21:24:49 @psycon | http://www.youtube.com/watch?v=JEpO0VI2VPQ
│21:24:50 @fsiBot | [www.youtube.com] Dimitri Vegas, Like Mike, Yves V & Angger Dimas - Madagascar (Original Mix) - YouTube
│21:24:50 @fsiBot | [www.youtube.com] Dimitri Vegas, Like Mike, Yves V & Angger Dimas - Madagascar (Original Mix) - YouTube

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.