bugsduggan / pybot Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Traceback (most recent call last):
File "./run.py", line 7, in <module>
pybot.run(sys.argv[1:])
File "/Users/sambuca/pybot/pybot/__init__.py", line 292, in run
pybot.connect()
File "/Users/sambuca/pybot/pybot/__init__.py", line 149, in connect
self.socket.connect((self.server, self.port))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
Issue highlighted when argparse parses everything as strings, and sockets only accepts integers
If I rename it to something like foobar
it works, just not when it's called commands
Issue created by pybot's git plugin by bugsduggan in #lolhax
Because of the way object-based decorators work, setting a context for a command in the command
decorator will cause bad times.
@command(context=CONTEXT_QUERY)
should be totally legal happy times syntax but in order to make this happen, command's __init__
method would not be able to take in the function, which would have to be taken at call time. That means that we loose all the shiny logging goodness and commands like commands
become insane to implement.
Issue created by pybot's git plugin by bugsduggan in #69
Some of the builtin plugin's commands should only be executed by trusted users. I think there should also be a new decorator admin_command
to handle the check for privs.
Commands such as .join
will cause badness due to it not including the channel to join (the message
argument will be empty). This should be reported to the caller.
Issue created by pybot's git plugin by bugsduggan in #lolhax
Issue created by pybot's git plugin by bugsduggan in #lolhax
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.