Skip to content

Commit 8aea6e0

Browse files
half-duplexdgw
andcommitted
translate: hint hint in help
Co-authored-by: dgw <[email protected]>
1 parent e5bcd1f commit 8aea6e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sopel/modules/translate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,16 +142,16 @@ 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)
149149
@plugin.example('.tr mon chien',
150150
'"my dog" (fr to en, translate.google.com)',
151-
online=True, vcr=True)
151+
online=True, vcr=True, user_help=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)