hubbeking / hubbot_twisted Goto Github PK
View Code? Open in Web Editor NEWAn IRC chatbot written using the Twisted library.
License: MIT License
An IRC chatbot written using the Twisted library.
License: MIT License
They need the message data encoded into byte form, but they're getting it as unicode strings from python, since it's just a .format() with unicode_literals on
If the bot is in mid-connection (waiting for a time-out), quitfrom fails to function as expected.
It works alright, and writing new modules is pretty simple... But the bothandler and modulehandler classes are in serious need of a rewrite or at least a serious overhaul.
Maybe the regex is wonk?
Current Module API is simplistic and relies on everything being single-server (despite looking slightly multiserver in places)
TODO:
I have NO IDEA why this is. It should just be a simple, basic, requests.post() call. But somehow it takes super long to respond, always equal to the amount of time that the timeout is set to.
So you can't be NOT KITTEH one minute and then CRITICAL KITTEH the next.
Maybe also allow ridiculous combinations?
Load status from database rather than roll one up if there's been less than say... 15 minutes? since last roll.
The simplehal library used by the Grapheme and GraphemeLearning modules is terribly inefficient memorywise. On the 25th of May, 2014, almost 200megs of RAM were used by 11 megs of brainfile.
Make it just fetch the bits that match the nick in question, more efficient that way.
This way, Rustle can always be loaded and the RoBoBo module can just handle IdentCheck.
Enable parsing of something like 5m30s into a float of seconds for the callLater() function
GlobalVars is not a good name, since we're instantiating it.
YAML is much better for config than python files anyway, too.
Like lrrbot's !advice, for general life advice
Suggested by rucdoc, seems to fit best into Hubbot
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.