aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar Anubhav <[email protected]>2020-09-17 16:26:07 +0530
committerGravatar GitHub <[email protected]>2020-09-17 16:26:07 +0530
commitfcdc0cbbc7b9632afd1e65f3ec12c91ca8340aee (patch)
treef102f44be8c9f5f12e08f1323090b5004ed4c48f /bot
parentCorrected grammer (diff)
changed title is None to not titles
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 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