Fix fix string
This commit is contained in:
parent
0bc8ab9dec
commit
0ea03f8fec
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue