diff options
author | 2020-09-17 16:26:07 +0530 | |
---|---|---|
committer | 2020-09-17 16:26:07 +0530 | |
commit | fcdc0cbbc7b9632afd1e65f3ec12c91ca8340aee (patch) | |
tree | f102f44be8c9f5f12e08f1323090b5004ed4c48f /bot | |
parent | Corrected 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.py | 2 |
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 |