Added /status command
This commit is contained in:
4
main.py
4
main.py
@@ -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()
|
||||
|
Reference in New Issue
Block a user