! OwOMizu Errors
← All errors
high config

Quick check shows TOKENS as None / empty

Description

The diagnostic shows TOKENS as None, confirming .env was not loaded into the process environment.

Cause

Same root cause as the 'No tokens found' error. The .env file exists but TOKENS isn't visible to the process because it was loaded from the wrong path or the key is absent.

Fix

Run the diagnostic from the owomizu/ folder: python -c "import os; from dotenv import load_dotenv; load_dotenv(); print(repr(os.getenv('TOKENS')))". If it prints None, the path or key is wrong. Recent builds load .env by absolute path next to mizu.py, so this resolves regardless of cwd after updating.

Code change

Before
python -c "import os; print(repr(os.getenv('TOKENS')))"
# None
After
cd owomizu
python -c "import os; from dotenv import load_dotenv; load_dotenv(); print(repr(os.getenv('TOKENS')))"
# 'token1 channel1;token2 channel2'