forked from HonusBot/HonusBot
Fix
This commit is contained in:
parent
42143ca360
commit
57d8032056
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user