aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2020-03-15 18:37:37 +0530
committerGravatar RohanJnr <[email protected]>2020-03-15 18:37:37 +0530
commit520c73093af8337c34fb7147ba7d7d15bf46a2af (patch)
treea73bae9a89398b1540f70dff7a855bdd7aff0f8e
parentMerge branch 'tags_overhaul' of https://github.com/RohanJnr/bot into tags_ove... (diff)
not awaiting _get_tags_via_content() method as it is non-async
-rw-r--r--bot/cogs/tags.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py
index 4895bd807..5b820978d 100644
--- a/bot/cogs/tags.py
+++ b/bot/cogs/tags.py
@@ -151,7 +151,7 @@ class Tags(Cog):
Only search for tags that has ALL the keywords.
"""
- matching_tags = await self._get_tags_via_content(all, keywords)
+ matching_tags = self._get_tags_via_content(all, keywords)
await self._send_matching_tags(ctx, keywords, matching_tags)
@search_tag_content.command(name='any')
@@ -161,7 +161,7 @@ class Tags(Cog):
Search for tags that has ANY of the keywords.
"""
- matching_tags = await self._get_tags_via_content(any, keywords or 'any')
+ matching_tags = self._get_tags_via_content(any, keywords or 'any')
await self._send_matching_tags(ctx, keywords, matching_tags)
@tags_group.command(name='get', aliases=('show', 'g'))