Skip to content

Commit b2dbef3

Browse files
committed
translate: hint hint in help
1 parent e5bcd1f commit b2dbef3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sopel/modules/translate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def tr(bot, trigger):
142142
@plugin.command('translate', 'tr')
143143
@plugin.example('.tr :en :fr my dog',
144144
'"mon chien" (en to fr, translate.google.com)',
145-
online=True, vcr=True)
145+
online=True, vcr=True, user_help=True)
146146
@plugin.example('.tr מחשב',
147147
'"computer" (iw to en, translate.google.com)',
148148
online=True, vcr=True)
@@ -151,7 +151,7 @@ def tr(bot, trigger):
151151
online=True, vcr=True)
152152
@plugin.output_prefix(PLUGIN_OUTPUT_PREFIX)
153153
def tr2(bot, trigger):
154-
"""Translates a phrase, with an optional language hint."""
154+
"""Translates a phrase, with an optional language :hint."""
155155
command = trigger.group(2)
156156

157157
if not command:

0 commit comments

Comments
 (0)