fsiwi-hka / fsibot Goto Github PK
View Code? Open in Web Editor NEWBot für #fsi
License: MIT License
Bot für #fsi
License: MIT License
Unser Bot in ##fsi. Maintainer: mathias_, psycon, saschaw
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
Module '<WeatherModule.WeatherModule object at 0x179d450>' crashed with 'AttValue: " or ' expected, line 2, column 11', removing.
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.
The MensaModule discards Umlaute. Maybe there is also a better solution formating the output.
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.
for example ka-news.de
Twitter devs have decided to shutdown API v1 so we need to use API v1.1 and authenticate us
Create a soup like website for all pictures posted in the channel
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)
File "core/BotCore.py", line 65, in on_nicknameinuse
sendPrivateMessage("nickserv", "ghost " + self.nick + " " + self.nickpassword)
NameError: global name 'sendPrivateMessage' is not defined
│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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.