pirogoeth / ashiema Goto Github PK
View Code? Open in Web Editor NEWIRC bot written in python with an event driven framework
IRC bot written in python with an event driven framework
This code is unlicensed, which means that we cannot actually use it legally. While I doubt you are going to sue anybody for using it, the license makes it clear you won't.
WITHIN GoogleSearch.py
self.url = "https://ajax.googleapis.com/ajax/services/search/web?"
DEPECIATE AS FUCK.
TY
When I start up the bot on Debug mode, I get this:
{ashiema}[INFO/2013-03-09 22:25:41,415]: connection type: plain
{ashiema}[INFO/2013-03-09 22:25:41,425]: Loaded 10 default events.
{ashiema}[DEBUG/2013-03-09 22:25:41,804]: irc.uk.mibbit.net NOTICE AUTH *** Looking up your hostname...
{ashiema}[DEBUG/2013-03-09 22:25:41,809]: irc.uk.mibbit.net NOTICE AUTH *** Found your hostname (cached)
{ashiema}[DEBUG/2013-03-09 22:25:42,604]: <- ping received at 1362889542.6
{ashiema}[DEBUG/2013-03-09 22:25:42,760]: 830BDF1E![email protected] PRIVMSG LSBot2 �VERSION�
I talked with the Mibbit IRC administrators, and they told me the bot is not responding to their pings at all. Is there something I may have mis-configured?
Sorry to be such a pain x.x . It gives me this error on startup
{ashiema}[ERROR/2013-03-10 07:58:41,816]: You must install py-megahal to use this plugin.
{ashiema}[INFO/2013-03-10 07:58:41,834]: an error has occurred in SystemFunctions (1.0):
{ashiema}[ERROR/2013-03-10 07:58:41,839]: Traceback (most recent call last):
{ashiema}[ERROR/2013-03-10 07:58:41,843]: File "/server/Bot/core/PluginLoader.py", line 99, in load
{ashiema}[ERROR/2013-03-10 07:58:41,847]: plugin : data['main'](self.connection, self.eventhandler)
{ashiema}[ERROR/2013-03-10 07:58:41,851]: File "/server/Bot/plugins/System.py", line 41, in init
{ashiema}[ERROR/2013-03-10 07:58:41,855]: self.system_event = SystemEvent(eventhandler)
{ashiema}[ERROR/2013-03-10 07:58:41,858]: File "/server/Bot/plugins/System.py", line 17, in init
{ashiema}[ERROR/2013-03-10 07:58:41,862]: Event.Event.init(self, eventhandler)
{ashiema}[ERROR/2013-03-10 07:58:41,866]: TypeError: init() takes exactly 3 arguments (2 given)
{ashiema}[ERROR/2013-03-10 07:58:41,869]:
{ashiema}[INFO/2013-03-10 07:58:41,873]: an error has occurred in ArtificialIntelligence (1.0):
{ashiema}[ERROR/2013-03-10 07:58:41,877]: Traceback (most recent call last):
{ashiema}[ERROR/2013-03-10 07:58:41,880]: File "/server/Bot/core/PluginLoader.py", line 99, in load
{ashiema}[ERROR/2013-03-10 07:58:41,883]: plugin : data['main'](self.connection, self.eventhandler)
{ashiema}[ERROR/2013-03-10 07:58:41,887]: File "/server/Bot/plugins/ArtificialIntelligence.py", line 31, in init
{ashiema}[ERROR/2013-03-10 07:58:41,890]: self.brain = megahal.MegaHAL(brainfile = self.get_path() + "/brain")
{ashiema}[ERROR/2013-03-10 07:58:41,893]: NameError: global name 'megahal' is not defined
{ashiema}[ERROR/2013-03-10 07:58:41,896]:
{ashiema}[INFO/2013-03-10 07:58:41,900]: all plugins have been loaded.
{ashiema}[DEBUG/2013-03-10 07:58:41,903]: LimitBot MODE LimitBot +iwx
{ashiema}[DEBUG/2013-03-10 07:58:41,912]: NickServ![email protected] NOTICE LimitBot Your nick isn't registered.
{ashiema}[DEBUG/2013-03-10 07:58:41,915]: irc.va.us.mibbit.net 402 LimitBot ashiema :No such server
{ashiema}[DEBUG/2013-03-10 07:58:41,968]: irc.va.us.mibbit.net 332 LimitBot #limitsmp :
{ashiema}[DEBUG/2013-03-10 07:58:41,974]: irc.va.us.mibbit.net 333 LimitBot #limitsmp ChanServ 1362920136
{ashiema}[DEBUG/2013-03-10 07:58:41,980]: irc.va.us.mibbit.net 353 LimitBot = #limitsmp :LimitBot ~ccrama
{ashiema}[DEBUG/2013-03-10 07:58:41,983]: irc.va.us.mibbit.net 366 LimitBot #limitsmp :End of /NAMES list.
{ashiema}[DEBUG/2013-03-10 07:58:45,093]: ccrama![email protected] PRIVMSG #limitsmp hi
and it DOES connect, but if someone talks, it crashes.
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.