Added /status command

This commit is contained in:
2025-04-28 13:06:55 +02:00
parent c96cb167b5
commit c4ebd1b891
6 changed files with 85 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
"""Main module with entry point that must be executed for the bot to start"""
import contextlib
import logging.config
from argparse import ArgumentParser
@@ -39,7 +41,7 @@ with contextlib.suppress(ImportError):
uvloop.install()
def main():
def main() -> None:
# Perform migration if command line argument was provided
if args.migrate:
migrate_database()