This commit is contained in:
Christian Rendina 2020-03-09 01:57:04 +01:00
parent 42143ca360
commit 57d8032056
1 changed files with 1 additions and 1 deletions

View File

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