English |繁體中文
A python based discord bot designed for private server management
.
├── requirements.txt
├── .env
└── src/
├── cogs/
│ └── generative.py
├── history.json
└── main.py
Token are accessed with dotenv.load_dotenv()
and os.getenv()
.
BOT_TOKEN=
GEMINI_TOKEN=
Install packages via pip install -r requirements.txt
.
There are two options for hosting bot:
-
Hosting locally
python3 -B main.py
-
Hosting with pm2
pm2 start src/main.py --name "nana" --interpreter "python3" --interpreter-args "-B"
Licensed under MIT.