froozen / pybot Goto Github PK
View Code? Open in Web Editor NEWExtendable IRC-Bot written in python
Extendable IRC-Bot written in python
If you forget to supply a nick
in config.json
, a stacktrace like this will
be shown:
File "/home/shakmar/workspaces/python/pybot/pybot/irc.py", line 65, in run
self._connect ()
File "/home/shakmar/workspaces/python/pybot/pybot/irc.py", line 93, in _connect
self._register ()
File "/home/shakmar/workspaces/python/pybot/pybot/irc.py", line 101, in _register
self.send_event ( nick_event )
File "/home/shakmar/workspaces/python/pybot/pybot/irc.py", line 180, in send_event
self._socket.send ( "%s\r\n" % event.signal )
File "/home/shakmar/workspaces/python/pybot/pybot/irc.py", line 268, in signal
if " " in arg:
TypeError: argument of type 'NoneType' is not iterable
A nicely formatted error message would be preferrable.
When you kill pybot via Control-C, the logfile is not written correctly. You should probably catch the KeyboardInterrupt
exception top-level and flush the logfile.
This would improve style and readability.
Make sure the flood protection of the servers isn't triggered.
It is used in the Plugin Development
section of the wiki, but never explained.
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.