We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5bcd1f commit b2dbef3Copy full SHA for b2dbef3
sopel/modules/translate.py
@@ -142,7 +142,7 @@ def tr(bot, trigger):
142
@plugin.command('translate', 'tr')
143
@plugin.example('.tr :en :fr my dog',
144
'"mon chien" (en to fr, translate.google.com)',
145
- online=True, vcr=True)
+ online=True, vcr=True, user_help=True)
146
@plugin.example('.tr מחשב',
147
'"computer" (iw to en, translate.google.com)',
148
online=True, vcr=True)
@@ -151,7 +151,7 @@ def tr(bot, trigger):
151
152
@plugin.output_prefix(PLUGIN_OUTPUT_PREFIX)
153
def tr2(bot, trigger):
154
- """Translates a phrase, with an optional language hint."""
+ """Translates a phrase, with an optional language :hint."""
155
command = trigger.group(2)
156
157
if not command:
0 commit comments