Fix
This commit is contained in:
parent
4202b02904
commit
6b46d74e66
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue