From 7706228a8cec7789a3af3ff3a449491d860540a4 Mon Sep 17 00:00:00 2001 From: Jeremiah Boby Date: Sat, 14 Nov 2020 20:29:33 +0000 Subject: Remove make_persistent import from bot extensions --- bot/exts/evergreen/branding.py | 4 ++-- bot/exts/halloween/candy_collection.py | 4 +++- bot/exts/halloween/hacktoberstats.py | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bot/exts/evergreen/branding.py b/bot/exts/evergreen/branding.py index 9ff91e96..b55c9b14 100644 --- a/bot/exts/evergreen/branding.py +++ b/bot/exts/evergreen/branding.py @@ -510,7 +510,7 @@ class BrandingManager(commands.Cog): await ctx.send(embed=response) - @daemon_group.command(name="start", disabled=True) + @daemon_group.command(name="start", enabled=False) async def daemon_start(self, ctx: commands.Context) -> None: """If the daemon isn't running, start it.""" if self._daemon_running: @@ -522,7 +522,7 @@ class BrandingManager(commands.Cog): response = discord.Embed(description=f"Daemon started {Emojis.ok_hand}", colour=Colours.soft_green) await ctx.send(embed=response) - @daemon_group.command(name="stop", disabled=True) + @daemon_group.command(name="stop", enabled=False) async def daemon_stop(self, ctx: commands.Context) -> None: """If the daemon is running, stop it.""" if not self._daemon_running: diff --git a/bot/exts/halloween/candy_collection.py b/bot/exts/halloween/candy_collection.py index 815b0d16..7bdc6ef0 100644 --- a/bot/exts/halloween/candy_collection.py +++ b/bot/exts/halloween/candy_collection.py @@ -9,7 +9,9 @@ from discord.ext import commands from bot.constants import Channels, Month from bot.utils.decorators import in_month -from bot.utils.persist import make_persistent + +# TODO: Implement substitutes for volume-persistent methods. +# from bot.utils.persist import make_persistent log = logging.getLogger(__name__) diff --git a/bot/exts/halloween/hacktoberstats.py b/bot/exts/halloween/hacktoberstats.py index 85f70ef0..beff86e3 100644 --- a/bot/exts/halloween/hacktoberstats.py +++ b/bot/exts/halloween/hacktoberstats.py @@ -12,7 +12,9 @@ from discord.ext import commands from bot.constants import Channels, Month, Tokens, WHITELISTED_CHANNELS from bot.utils.decorators import in_month, override_in_channel -from bot.utils.persist import make_persistent + +# TODO: Implement substitutes for volume-persistent methods. +# from bot.utils.persist import make_persistent log = logging.getLogger(__name__) -- cgit v1.2.3