diff options
author | 2020-11-14 18:44:01 +0000 | |
---|---|---|
committer | 2020-11-14 18:44:01 +0000 | |
commit | f02ff11e15d35ada3a905006197a85952b016041 (patch) | |
tree | 1119432cfd1102ff8ddda83d8a602a79f56ae9a7 /bot/exts/evergreen/branding.py | |
parent | Raise NotImplementedError on write/read to config (diff) |
Remove references to deprecated methods in cog init
Diffstat (limited to 'bot/exts/evergreen/branding.py')
-rw-r--r-- | bot/exts/evergreen/branding.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bot/exts/evergreen/branding.py b/bot/exts/evergreen/branding.py index f9857b6c..9ff91e96 100644 --- a/bot/exts/evergreen/branding.py +++ b/bot/exts/evergreen/branding.py @@ -157,13 +157,14 @@ class BrandingManager(commands.Cog): self.days_since_cycle = itertools.cycle([None]) - self.config_file = make_persistent(Path("bot", "resources", "evergreen", "branding.json")) + # self.config_file = make_persistent(Path("bot", "resources", "evergreen", "branding.json")) + # should_run = self._read_config()["daemon_active"] - if should_run: - self.daemon = self.bot.loop.create_task(self._daemon_func()) - else: - self.daemon = None + # if should_run: + # self.daemon = self.bot.loop.create_task(self._daemon_func()) + # else: + self.daemon = None @property def _daemon_running(self) -> bool: |