diff options
| author | 2020-02-22 19:58:08 +0200 | |
|---|---|---|
| committer | 2020-02-22 19:58:08 +0200 | |
| commit | 53753f0c9e614789221aa5145511c0fce05d75ad (patch) | |
| tree | f1d0e28d44454719c06c3a3d77b0e8b71f0aca23 | |
| parent | Return False (not sent) at the end of display_tag (diff) | |
(display_tag) Return False if no tags were found.
Since no tags were found, we can return false
since we didn't send any matching tag
| -rw-r--r-- | bot/cogs/tags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py index e36761f85..c3bc9861f 100644 --- a/bot/cogs/tags.py +++ b/bot/cogs/tags.py @@ -155,7 +155,7 @@ class Tags(Cog): description="**There are no tags in the database!**", colour=Colour.red() )) - return True + return False else: embed: Embed = Embed(title="**Current tags**") await LinePaginator.paginate( |