Shit Discord bot
- Python 100%
|
|
||
|---|---|---|
| .github | ||
| .vscode | ||
| systemd | ||
| tests | ||
| .env.example | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| LICENSE | ||
| main.py | ||
| pyproject.toml | ||
| README.md | ||
ANewDawn
A shit Discord bot.
Running via systemd
This repo includes a systemd unit template under systemd/anewdawn.service that can be used to run the bot as a service.
Quick setup
-
Copy and edit the environment file:
sudo mkdir -p /etc/ANewDawn sudo cp systemd/anewdawn.env.example /etc/ANewDawn/ANewDawn.env sudo chown -R lovinator:lovinator /etc/ANewDawn # Edit /etc/ANewDawn/ANewDawn.env and fill in your tokens. -
Install the systemd unit:
sudo cp systemd/anewdawn.service /etc/systemd/system/ sudo systemctl daemon-reload sudo systemctl enable --now anewdawn.service -
Check status / logs:
sudo systemctl status anewdawn.service sudo journalctl -u anewdawn.service -f