Prevent accidentally triggering other bots
This commit is contained in:
parent
2571852ab9
commit
4bed261a3e
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue