17 lines
337 B
Python
17 lines
337 B
Python
import asyncio
|
|
import argparse
|
|
|
|
from . import ItSyndikatBot
|
|
from .config import Config
|
|
|
|
parser = argparse.ArgumentParser(description="IT-Syndikat matrix bot")
|
|
parser.add_argument(
|
|
"-c",
|
|
"--config",
|
|
help="path to the config file",
|
|
)
|
|
|
|
args = parser.parse_args()
|
|
|
|
bot = ItSyndikatBot(Config(args.config))
|
|
asyncio.run(bot.run())
|