Fixed commands

This commit is contained in:
HonusBot 2019-12-29 01:25:09 +01:00
parent 398a830d98
commit e887cfcba7

View File

@ -80,12 +80,12 @@ class InlineBot:
query = update.inline_query.query query = update.inline_query.query
results = list() results = list()
if not query: if not query:
results.append(self.makeResult("Pony", "yay!", self.callRequest("pony", senderid, query))) results.append(self.makeResult("Pony", "yay, ponies!", self.callRequest("pony", senderid, query)))
results.append(self.makeResult("Clop", "clopclop", self.callRequest("clop", senderid, query))) results.append(self.makeResult("Clop", "NSFW ponies", self.callRequest("clop", senderid, query)))
results.append(self.makeResult("Furry", "DON'T!", self.callRequest("furry", senderid, query))) results.append(self.makeResult("Furry", "Furries", self.callRequest("furry", senderid, query)))
results.append(self.makeResult("Loli", "say hi to the police!", self.callRequest("loli", senderid, query))) results.append(self.makeResult("Loli", "Cute lolis", self.callRequest("loli", senderid, query)))
results.append(self.makeResult("Yiff", "yiff", self.callRequest("yiff", senderid, query))) results.append(self.makeResult("Yiff", "Yiff", self.callRequest("yiff", senderid, query)))
results.append(self.makeResult("Lewd", "lolies", self.callRequest("lolies", senderid, query))) results.append(self.makeResult("Lewd", "Say hi to the police", self.callRequest("lewd", senderid, query)))
else: else:
results.append(self.makeResult("Cancer", "Search cancer about " + query, self.callRequest("cancer", senderid, query))) results.append(self.makeResult("Cancer", "Search cancer about " + query, self.callRequest("cancer", 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)