aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RohanJnr <[email protected]>2020-03-12 22:32:24 +0530
committerGravatar RohanJnr <[email protected]>2020-03-12 22:32:24 +0530
commit55effb33627fe21a4bcd230a26cc3cf2dfb0b512 (patch)
treea516b9e696490cb63f18a86f1facad2ff6c3399c
parentremove repetitive file search (diff)
convert get_tags() method to staticmethod
-rw-r--r--bot/cogs/tags.py3
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 = {}