Skip to content

Commit

Permalink
[translate] add .translate example
Browse files Browse the repository at this point in the history
  • Loading branch information
bui committed Dec 1, 2013
1 parent f212340 commit b1ec628
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def tr(bot, trigger):


@commands('translate', 'tr')
@example('.tr :en :fr my dog .tr mon chien')
def tr2(bot, trigger):
"""Translates a phrase, with an optional language hint."""
command = trigger.group(2).encode('utf-8')
Expand Down

0 comments on commit b1ec628

Please sign in to comment.