From 095468c6ee72098ca6a79b6eaee1d03fbb60487c Mon Sep 17 00:00:00 2001 From: Anubhav <57266248+Anubhav1603@users.noreply.github.com> Date: Mon, 21 Sep 2020 11:57:04 +0530 Subject: Update bot/exts/evergreen/wikipedia.py Co-authored-by: Thomas Petersson <61778143+thomaspet@users.noreply.github.com> --- bot/exts/evergreen/wikipedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot') diff --git a/bot/exts/evergreen/wikipedia.py b/bot/exts/evergreen/wikipedia.py index 7e568392..7fac3575 100644 --- a/bot/exts/evergreen/wikipedia.py +++ b/bot/exts/evergreen/wikipedia.py @@ -60,7 +60,7 @@ class WikipediaCog(commands.Cog): titles_no_underscore = [title.replace(" ", "_") for title in titles] # wikipedia uses "_" as spaces log.info("Finished appending titles to titles_no_underscore list") - s_desc = "\n".join(self.formatted_wiki_urls(index, title)for index, title in enumerate(titles, start=1)) + s_desc = "\n".join(self.formatted_wiki_url(index, title) for index, title in enumerate(titles, start=1)) embed = Embed(colour=Color.blue(), title=f"Wikipedia results for `{search}`", description=s_desc) embed.timestamp = datetime.datetime.utcnow() await ctx.send(embed=embed) -- cgit v1.2.3