Added /status command
This commit is contained in:
@@ -20,6 +20,9 @@ logger: Logger = get_logger(__name__)
|
||||
|
||||
|
||||
class PycordBot(LibPycordBot):
|
||||
__version__ = "0.1.0"
|
||||
|
||||
started: datetime
|
||||
cache: CacheMemcached | CacheRedis | None = None
|
||||
|
||||
def __init__(self, *args, **kwargs) -> None:
|
||||
@@ -48,6 +51,9 @@ class PycordBot(LibPycordBot):
|
||||
@override
|
||||
async def start(self, *args: Any, **kwargs: Any) -> None:
|
||||
await self._schedule_tasks()
|
||||
|
||||
self.started = datetime.now(tz=ZoneInfo("UTC"))
|
||||
|
||||
await super().start(*args, **kwargs)
|
||||
|
||||
@override
|
||||
|
Reference in New Issue
Block a user