diff options
author | 2020-03-14 19:43:31 +0530 | |
---|---|---|
committer | 2020-03-14 19:43:31 +0530 | |
commit | e9ae8a89ec97c3bdb53dd354e292c53ad72fb42e (patch) | |
tree | 4080302149ececbd816dcafdae4eee0d817bfe71 | |
parent | Merge branch 'tags_overhaul' of https://github.com/RohanJnr/bot into tags_ove... (diff) |
Remove line that calls get_tags() method
The tags have now been shifted from the database to being static files and hence the get_tags()
method has undergone changes. It now dosen't fetch from the database but looks at the local files
and we need not call it more than once.
-rw-r--r-- | bot/cogs/tags.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py index fecaf926d..fee24b2e7 100644 --- a/bot/cogs/tags.py +++ b/bot/cogs/tags.py @@ -97,8 +97,6 @@ class Tags(Cog): `predicate` will be the built-in any, all, or a custom callable. Must return a bool. """ - await self._get_tags() - keywords_processed: List[str] = [] for keyword in keywords.split(','): keyword_sanitized = keyword.strip().casefold() |