From 4bed261a3ed243ed51db01d7de882ed31f6498b5 Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 23 May 2016 21:39:41 +0200 Subject: [PATCH] Prevent accidentally triggering other bots --- yaboli/bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yaboli/bot.py b/yaboli/bot.py index b50350e..5efcf5d 100644 --- a/yaboli/bot.py +++ b/yaboli/bot.py @@ -429,7 +429,8 @@ class Bot(): command = command[1:] if command in self.detailed_helptexts: - msg = self.detailed_helptexts[command] + msg = "Detailed help for !{}:".format(command) + msg += self.detailed_helptexts[command] else: msg = "No detailed help text found for !{}.".format(command) if command in self.helptexts: