MADE RUST TRANSFER ARGS TO PYTHON LETS GOOOOOOOOOOOOOOOOOOOOOOO

This commit is contained in:
2025-02-07 17:40:16 +01:00
parent 8186e4e75f
commit 9425c2cccc
7 changed files with 23 additions and 20 deletions
+6 -1
View File
@@ -1,14 +1,19 @@
import sys
from macros import *
import bot as botPy
import data
from macros import *
def main():
sys.stdout.reconfigure(encoding="utf-8")
bot = botPy.Bot()
try: bot.set_args(args)
except NameError:
py_print("No command args found from Rust. Don't worry though, we have backup in place.")
py_print("ARGS:", str(bot.args[1:]))
py_print("Reading data...")
data.read_data(bot)