aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts')
-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 85121907..127fab47 100644
--- a/bot/exts/evergreen/wikipedia.py
+++ b/bot/exts/evergreen/wikipedia.py
@@ -53,7 +53,7 @@ class WikipediaCog(commands.Cog):
def check(message: Message) -> bool:
return message.author.id == ctx.author.id
- if titles is None:
+ if not titles:
await ctx.send("Sorry, we could not find a wikipedia article using that search term")
return