aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar F4zii <[email protected]>2020-03-07 09:33:36 +0200
committerGravatar F4zii <[email protected]>2020-03-07 09:33:36 +0200
commit5f4b04b7a8631bd93627cdc61ed39bd998e15249 (patch)
treeea92787ba1d910a58ad14e865d401a1909341e0b
parentBoolean Logic fix (diff)
Return True after a tag suggestion was sent
After we send a tag or a suggestion we should return True for the error handler to know we handled the misspelt invoke
-rw-r--r--bot/cogs/tags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py
index e36761f85..5124fb5e7 100644
--- a/bot/cogs/tags.py
+++ b/bot/cogs/tags.py
@@ -146,7 +146,7 @@ class Tags(Cog):
title='Did you mean ...',
description='\n'.join(tag['title'] for tag in founds[:10])
))
- return False
+ return True
else:
tags = self._cache.values()