aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/wikipedia.py
diff options
context:
space:
mode:
authorGravatar TizzySaurus <[email protected]>2021-11-29 09:15:05 +0000
committerGravatar GitHub <[email protected]>2021-11-29 09:15:05 +0000
commitc462d899f02495a4875df1f59fd97b39202ba8de (patch)
treed6a60f9735ae21c7ef5d546ec2cfc8c84b1200c2 /bot/exts/utilities/wikipedia.py
parentChange `MODERATION_ROLES` and `STAFF_ROLES` constants to be a set (diff)
parentMerge pull request #951 from python-discord/file_logging (diff)
Merge branch 'main' into update-role-constants
Diffstat (limited to 'bot/exts/utilities/wikipedia.py')
-rw-r--r--bot/exts/utilities/wikipedia.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bot/exts/utilities/wikipedia.py b/bot/exts/utilities/wikipedia.py
index eccc1f8c..e5e8e289 100644
--- a/bot/exts/utilities/wikipedia.py
+++ b/bot/exts/utilities/wikipedia.py
@@ -82,13 +82,11 @@ class WikipediaSearch(commands.Cog):
if contents:
embed = Embed(
title="Wikipedia Search Results",
- colour=Color.blurple()
+ colour=Color.og_blurple()
)
embed.set_thumbnail(url=WIKI_THUMBNAIL)
embed.timestamp = datetime.utcnow()
- await LinePaginator.paginate(
- contents, ctx, embed
- )
+ await LinePaginator.paginate(contents, ctx, embed, restrict_to_user=ctx.author)
else:
await ctx.send(
"Sorry, we could not find a wikipedia article using that search term."