Fix fix string

This commit is contained in:
blank X 2020-11-16 15:49:03 +07:00
parent 0bc8ab9dec
commit 0ea03f8fec
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ async def wikipedia(client, message):
return return
results = await client.get_inline_bot_results(bot.username or bot.id, 'w ' + query) results = await client.get_inline_bot_results(bot.username or bot.id, 'w ' + query)
if not results.results: if not results.results:
await message.reply_text('There are no resultss') await message.reply_text('There are no results')
return return
try: try:
await message.reply_inline_bot_result(results.query_id, results.results[page].id) await message.reply_inline_bot_result(results.query_id, results.results[page].id)