This repository has been archived by the owner on Oct 25, 2019. It is now read-only.
forked from sbp/phenny
-
Notifications
You must be signed in to change notification settings - Fork 19
New commands from #apertium #49
Open
mattr555
wants to merge
27
commits into
mutantmonkey:master
Choose a base branch
from
apertium:mutantmonkey_merge
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(scrapes language codes at startup, may want to disable if unneeded)
.follow <nick> <lg1-lg2> to follow someone phenny will pm you translations as the user speaks
to use, add your git repositories to config.git_repositories, where the key is the name and the value is the url (for github, use api.github.com) then, add a hook to post_commit for pushing info to phenny's listener port (default 1234) currently supported: github, bitbucket, google code
this module requires ethnologue.py to run (scrapes language codes at startup, may want to disable if unneeded)
put **pm** in message to have the message sent privately
counts the number of articles in the specified language's wiki
.wik.<lg> <query> if no language is specified, english is defaulted
sees if a user left an away message with .away
We fixed |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 👅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. 40ed3deAdditions:
.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.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. e26e877With ❤️, your friends at #apertium