Question:
Keeps throwing errors. Happens at step 7 in readme.md, when i run python -m src.main
Repl link:
https://replit.com/@ChaosSymmetry/gpt-discord-bot#src/constants.py
Traceback (most recent call last):
File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/runner/gpt-discord-bot/src/main.py", line 5, in <module>
from src.constants import (
File "/home/runner/gpt-discord-bot/src/constants.py", line 34, in <module>
SERVER_TO_MODERATION_CHANNEL[int(values[0])] = int(values[1])
IndexError: list index out of range
Please help… @bardia or anyone else