From 8aea6e0fa4de9e060bf1b2910145fddd6d52cfc5 Mon Sep 17 00:00:00 2001 From: Trevor Bergeron Date: Sat, 13 May 2023 22:56:31 -0400 Subject: [PATCH] translate: hint hint in help Co-authored-by: dgw --- sopel/modules/translate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sopel/modules/translate.py b/sopel/modules/translate.py index d842d48560..80494b8019 100644 --- a/sopel/modules/translate.py +++ b/sopel/modules/translate.py @@ -142,16 +142,16 @@ def tr(bot, trigger): @plugin.command('translate', 'tr') @plugin.example('.tr :en :fr my dog', '"mon chien" (en to fr, translate.google.com)', - online=True, vcr=True) + online=True, vcr=True, user_help=True) @plugin.example('.tr מחשב', '"computer" (iw to en, translate.google.com)', online=True, vcr=True) @plugin.example('.tr mon chien', '"my dog" (fr to en, translate.google.com)', - online=True, vcr=True) + online=True, vcr=True, user_help=True) @plugin.output_prefix(PLUGIN_OUTPUT_PREFIX) def tr2(bot, trigger): - """Translates a phrase, with an optional language hint.""" + """Translates a phrase, with an optional language :hint.""" command = trigger.group(2) if not command: