34 lines
591 B
Python
34 lines
591 B
Python
#!/usr/bin/python3.10
|
|
from modules.imports import *
|
|
|
|
parser = argparse.ArgumentParser()
|
|
|
|
parser.add_argument(
|
|
"-c",
|
|
"--config",
|
|
help="Choose a specific config file",
|
|
default=""
|
|
)
|
|
|
|
parser.add_argument(
|
|
"-v",
|
|
"--vnc",
|
|
help="enable VNC",
|
|
dest="vnc"
|
|
)
|
|
|
|
parser.add_argument(
|
|
"--version",
|
|
help="display a message on discord to tell that the bot have been updated",
|
|
dest="update_version",
|
|
default="None"
|
|
)
|
|
|
|
parser.add_argument(
|
|
"--json",
|
|
help="input json to start the bot with custom parameters",
|
|
default=""
|
|
)
|
|
|
|
args = parser.parse_args()
|