improvements

This commit is contained in:
2019-02-27 02:24:00 +01:00
parent 8ca6740cd1
commit 0c1b8e3e00
2 changed files with 24 additions and 80 deletions

View File

@@ -75,7 +75,7 @@ class MessageHandler():
docstring = "No description available"
if docstring.startswith("nolist "):
continue
reply += "\n!{command} - {doc}".format(method, docstring.split("\n")[0])
reply += "\n!{} - {}".format(method, docstring.split("\n")[0])
return reply
else:
method = getattr(self,self.arguments[0])