From 4caf35f94b839a597cf8d51e9c42ac75e66d09d1 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 1 Jun 2021 10:42:53 +0200 Subject: [PATCH] Dunno: Document command substitution --- plugins/Dunno/plugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/Dunno/plugin.py b/plugins/Dunno/plugin.py index 7d396be53..a9555e147 100644 --- a/plugins/Dunno/plugin.py +++ b/plugins/Dunno/plugin.py @@ -38,7 +38,9 @@ class Dunno(plugins.ChannelIdDatabasePlugin): of them to provide a similar-to-moobot-and-blootbot interface for factoids. Basically, it replaces the standard 'Error: is not a valid command.' messages with messages kept in a database, able to give more personable - responses.""" + responses. + + ``$command`` in the message will be replaced by the command's name.""" callAfter = ['MoobotFactoids', 'Factoids', 'Infobot'] def invalidCommand(self, irc, msg, tokens):