in bot/main.py [0:0]
def parse_args():
parser = argparse.ArgumentParser(
prog="DiscordBot", description="A Discord bot using Gemini."
)
parser.add_argument(
"--accept-tos",
action="store_true",
help="Use this flag to omit the question about Vertex AI and Gemini API ToS. "
"By using this flag, you confirm that you've read and accepted Vertex AI and/or Gemini API ToS.",
)
args = parser.parse_args()
return args