issues
search
punchagan
/
childrens-park
A Jabber/Google-talk bot that can be used as a chatroom. (Based on python-jabberbot)
10
stars
6
forks
source link
Make loading new commands easier
#2
Closed
punchagan
closed
10 years ago
punchagan
commented
10 years ago
Add a plugins directory where plugins can be written to.
Every plugin should have one main function, which can either take one, two, or three arguments.
All return statements are messages sent back to the user running the command.
All print statements are messages broad-casted to all users.
Gist commands use the same mechanism, by writing them into gist_plugins directory.
@baali, @cloud9computing want to review?
@baali, @cloud9computing want to review?