mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
Fix URL
This commit is contained in:
parent
391beaf422
commit
41ad559dc3
1 changed files with 1 additions and 3 deletions
|
@ -7,8 +7,6 @@
|
|||
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
import aiohttp
|
||||
import random
|
||||
from typing import List
|
||||
from extensions.models import SearchExceptions
|
||||
import html2text
|
||||
|
@ -155,7 +153,7 @@ class Search(commands.Cog, name="Basic"):
|
|||
other_results: List[str] = []
|
||||
for r in results[1:count]:
|
||||
title = self.tomd.handle(r['title']).rstrip('\n')
|
||||
url = results[0]['url']
|
||||
url = results['url']
|
||||
other_results.append(f"**{title}** <{url}>")
|
||||
other_msg: str = "\n".join(other_results)
|
||||
|
||||
|
|
Loading…
Reference in a new issue