This commit is contained in:
Christian Rendina 2020-03-09 01:40:39 +01:00
parent 4202b02904
commit 6b46d74e66
1 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ class InlineBot:
self.commands = [] self.commands = []
self.config = None self.config = None
self.__loadConfig() ## todo v0.3.1 self.__loadConfig()
self.__makeCommands() self.__makeCommands()
def __loadConfig(self): def __loadConfig(self):
@ -190,9 +190,9 @@ class InlineBot:
contentText = "" contentText = ""
if command.getMode() == "imageurl": if command.getMode() == "imageurl":
contentText = InputTextMessageContent(""<a href=\"" + qValue + "\">HonusBot</a>", "HTML") contentText = InputTextMessageContent("<a href=\"" + qValue + "\">HonusBot</a>", "HTML")
elif command.getMode() == "genericurl": elif command.getMode() == "genericurl":
contentText = InputTextMessageContent(""<a href=\"" + qValue + "\">link</a>", "HTML") contentText = InputTextMessageContent("<a href=\"" + qValue + "\">link</a>", "HTML")
else: else:
contentText = InputTextMessageContent("Error", "HTML") contentText = InputTextMessageContent("Error", "HTML")