mirror of
https://github.com/nichkara/InfinitumBotty.git
synced 2026-06-10 22:26:23 +02:00
Initalize repo
This commit is contained in:
17
Main.py
Normal file
17
Main.py
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/python
|
||||
|
||||
"""
|
||||
mainfile, initializes everything
|
||||
"""
|
||||
|
||||
# function declarations
|
||||
from argparse import ArgumentParser
|
||||
|
||||
from FaustBot.FaustBot import FaustBot
|
||||
|
||||
if __name__ == "__main__":
|
||||
arg_parser = ArgumentParser(description="FautBot - ")
|
||||
arg_parser.add_argument('--config', required=True, type=str, help="Path to the configuration file")
|
||||
args = arg_parser.parse_args()
|
||||
bot = FaustBot(args.config)
|
||||
bot.run()
|
||||
Reference in New Issue
Block a user