phenny
phenny copied to clipboard
New commands from #apertium
Hello,
Firstly, we experienced some issues with the title response part of phenny. (i.e. when a user sends a link, phenny responds with the title of the link). There are five commits in here that fix 405: Method Not Allowed
. Sorry about the sheer number of those commits, blame my testing ability :tongue:
Fixes/Updates:
-
.time
- seemed to be around from an older version of phenny. 00e1a1a -
.seen
- ditto. Also, we added a "time since" part in the response. e710e63 -
.tell
- now, if you put**pm**
in a .tell, the message is sent privately. 88b2e39 -
.wik
- command can now also be.wik.<lg> <query>
, to search the given language's wikipedia. defaults to English. 40ed3de - The apertium-related tasks 390c939
Additions:
-
.t <phrase> <lg1-lg2>
- Use apertium to translate phrase from lg1 to lg2..listlangs
gives the available languages 60cb026 and 490ad82 -
.botslap
- tell phenny (s)he's being bad 7424f42 -
.py <code>
- run python2 code (executed on online sandbox) 59cad85 -
.ethnologue <lg>
- language information lookup 9501389 -
.follow <user> <lg1-lg2>
- get pm'd translations of what the user says from lg1-lg2. 787ffa3 - github.py and svnpoller.py- various commands for github repo management. phenny will say when there are new pushes if a post-commit hook is written. 373cae0 and c1032c2
-
.iso639 <lg>
- language code lookup. requires ethnologue.py a123d4c -
.lmgtfy <user> <query>
- let me google that for you 96763ad -
.fight <user>
,.hug <user>
- ba3494f -
.wikicount <lg>
- find how many articles a given wikipedia has 11379ee -
.ety <word>
- find the etymology of a word. e37d6e2 -
.whereis <user>
- if the user left an away message with.away
, get it. e26e877
With :heart:, your friends at #apertium
Thanks for this.
I've gone ahead and cherry picked 9219308170, b62dc01bd7, cbcb25a64b, and 4fa63e7314 already, and I'll be reviewing and possibly merging the rest over the next couple of weeks.
We fixed .botslap
to only trigger when the bot is mentioned.