This commit is contained in:
Christian Rendina 2020-03-09 01:57:04 +01:00
parent 42143ca360
commit 57d8032056

View File

@ -210,7 +210,7 @@ class InlineBot:
results = list() results = list()
if not query: if not query:
for command in self.commands: for command in self.commands:
results.append(self.makeResult(command, senderid) results.append(self.makeResult(command, senderid))
else: else:
results.append(self.makeResult(self.cancerCommand, senderid, query)) results.append(self.makeResult(self.cancerCommand, senderid, query))
context.bot.answer_inline_query(update.inline_query.id, results, 1, False) context.bot.answer_inline_query(update.inline_query.id, results, 1, False)