hygdrop
hygdrop copied to clipboard
IRC bot for Hy
hygdrop
IRC bot for Hy. Has following capabiltiy for now
- Can get issue details from github
- Can get commit details from github
- Prints core members of hylang
- evaluates hycode
Usage
Listing Core Team
list core team members
Bot only finds members and core team word in the message.
Github issue details
hy-mode#14
paultag/snitch#2
The input should be in form project/repo#issue_number
, in this case
bot doesn't check if line begins with ,. Similary Github commit can be
accessed
hy@3e8941c
hylang/hy@3e8941c
In both cases project
and repo
is not mandatory, if not given then
bot gets details for hylang/hy
repository.
TODO
- [x] Code can not handle referencing function defined in the same line
- [x] Write a new driver and remove
hygdrop/__init__.hy
- [x] Integrate spy mode to dump python code
- [x] Pastebin the looong lines and give the pastebin link to IRC
- [x] Move second level exception messages from stderr to IRC
- [ ] Port command.clj from Cjoey to command.hy
- [ ] Implement private message handling by bot