Added Test Mode

This commit is contained in:
2026-01-31 14:42:08 -06:00
parent d0de47bdd7
commit c5e3fd33c4
4 changed files with 32 additions and 1 deletions

9
bot.py
View File

@@ -1,3 +1,12 @@
import sys
import os
# Parse command line arguments before loading any config
if len(sys.argv) > 1 and sys.argv[1] == "testing":
os.environ["ENV_MODE"] = "testing"
# Remove the argument so it doesn't interfere with other parsing
sys.argv.pop(1)
import numba_config
import asyncio
import io