diff options
author | 2020-03-12 22:32:24 +0530 | |
---|---|---|
committer | 2020-03-12 22:32:24 +0530 | |
commit | 55effb33627fe21a4bcd230a26cc3cf2dfb0b512 (patch) | |
tree | a516b9e696490cb63f18a86f1facad2ff6c3399c | |
parent | remove repetitive file search (diff) |
convert get_tags() method to staticmethod
-rw-r--r-- | bot/cogs/tags.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py index 692cff0d8..48f000143 100644 --- a/bot/cogs/tags.py +++ b/bot/cogs/tags.py @@ -30,7 +30,8 @@ class Tags(Cog): self.tag_cooldowns = {} self._cache = self.get_tags() - def get_tags(self) -> dict: + @staticmethod + def get_tags() -> dict: """Get all tags.""" # Save all tags in memory. cache = {} |