From 428f5ca5dc7baf7516e10520b9209dfeeba01869 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 8 May 2020 12:37:07 +0200 Subject: [PATCH] Misc: Show a basic help when @help is called without an argument and customHelpString isn't set. --- plugins/Misc/plugin.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/Misc/plugin.py b/plugins/Misc/plugin.py index 237bb1513..6439e6242 100644 --- a/plugins/Misc/plugin.py +++ b/plugins/Misc/plugin.py @@ -292,7 +292,11 @@ class Misc(callbacks.Plugin): if cHelp: irc.reply(cHelp) else: - irc.error() + irc.reply(_( + "Use the 'list' command to list all plugins, and " + "'list ' to list all commands in a plugin. " + "To show the help of a command, use 'help '. " + )) return command = list(map(callbacks.canonicalName, command)) (maxL, cbs) = irc.findCallbacksForArgs(command)