diff options
-rw-r--r-- | bot/branding.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bot/branding.py b/bot/branding.py index 39c3b52c..0b5c7b7e 100644 --- a/bot/branding.py +++ b/bot/branding.py @@ -108,6 +108,11 @@ class BrandingManager(commands.Cog): else: self.daemon = None + @property + def _daemon_running(self) -> bool: + """True if the daemon is currently active, False otherwise.""" + return self.daemon is not None and not self.daemon.done() + async def _daemon_func(self) -> None: """ Manage all automated behaviour of the BrandingManager cog. |