Spaces:
Runtime error
Runtime error
Download config.py from W1xced/CollapseBot: direct link, hf CLI and curl.
- Browser
- Download file 227 Bytes
-
https://huggingface.co/spaces/W1xced/CollapseBot/resolve/main/config.py
- Command line
-
hf download hf://spaces/W1xced/CollapseBot/config.py
-
curl -L -o config.py https://huggingface.co/spaces/W1xced/CollapseBot/resolve/main/config.py
227 Bytes
| import os | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| BOT_TOKEN = os.getenv("BOT_TOKEN") | |
| if not BOT_TOKEN: | |
| raise ValueError( | |
| "One or more environment variables are not set. " "Please check your .env file." | |
| ) |