Prevent accidentally triggering other bots

This commit is contained in:
Joscha 2016-05-23 21:39:41 +02:00
parent 2571852ab9
commit 4bed261a3e

View file

@ -429,7 +429,8 @@ class Bot():
command = command[1:] command = command[1:]
if command in self.detailed_helptexts: if command in self.detailed_helptexts:
msg = self.detailed_helptexts[command] msg = "Detailed help for !{}:".format(command)
msg += self.detailed_helptexts[command]
else: else:
msg = "No detailed help text found for !{}.".format(command) msg = "No detailed help text found for !{}.".format(command)
if command in self.helptexts: if command in self.helptexts: