aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar Anubhav <[email protected]>2020-09-21 11:57:04 +0530
committerGravatar GitHub <[email protected]>2020-09-21 11:57:04 +0530
commit095468c6ee72098ca6a79b6eaee1d03fbb60487c (patch)
treeff353a2e8ef5c497249018c7d7da6726d15b5f52 /bot
parentRemoved the title_no_underscore list with titles (diff)
Update bot/exts/evergreen/wikipedia.py
Co-authored-by: Thomas Petersson <[email protected]>
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/evergreen/wikipedia.py2
1 files changed, 1 insertions, 1 deletions
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)