forked from HonusBot/HonusBot
Fix
This commit is contained in:
parent
4202b02904
commit
6b46d74e66
@ -79,7 +79,7 @@ class InlineBot:
|
||||
self.commands = []
|
||||
self.config = None
|
||||
|
||||
self.__loadConfig() ## todo v0.3.1
|
||||
self.__loadConfig()
|
||||
self.__makeCommands()
|
||||
|
||||
def __loadConfig(self):
|
||||
@ -190,9 +190,9 @@ class InlineBot:
|
||||
contentText = ""
|
||||
|
||||
if command.getMode() == "imageurl":
|
||||
contentText = InputTextMessageContent(""<a href=\"" + qValue + "\">HonusBot</a>", "HTML")
|
||||
contentText = InputTextMessageContent("<a href=\"" + qValue + "\">HonusBot</a>", "HTML")
|
||||
elif command.getMode() == "genericurl":
|
||||
contentText = InputTextMessageContent(""<a href=\"" + qValue + "\">link</a>", "HTML")
|
||||
contentText = InputTextMessageContent("<a href=\"" + qValue + "\">link</a>", "HTML")
|
||||
else:
|
||||
contentText = InputTextMessageContent("Error", "HTML")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user