Shit Discord bot
Find a file
2026-03-17 21:53:51 +01:00
.github Remove debugging step from CI workflow and add deployment process 2026-03-17 21:53:51 +01:00
.vscode Refactor environment variables and update systemd service configuration for ANewDawn 2026-03-17 19:47:25 +01:00
systemd Update environment variable file and service configuration 2026-03-17 21:21:33 +01:00
tests Update ruff config and fix its errors 2026-03-17 20:32:34 +01:00
.env.example Refactor environment variables and update systemd service configuration for ANewDawn 2026-03-17 19:47:25 +01:00
.gitignore Add pre-commit configuration and fix newline issues in various files 2025-02-02 21:48:55 +01:00
.pre-commit-config.yaml Add pre-commit 2026-03-17 19:58:46 +01:00
LICENSE Initial commit 2024-01-21 13:25:35 +01:00
main.py Update ruff config and fix its errors 2026-03-17 20:32:34 +01:00
pyproject.toml Update ruff config and fix its errors 2026-03-17 20:32:34 +01:00
README.md Refactor environment variables and update systemd service configuration for ANewDawn 2026-03-17 19:47:25 +01:00

ANewDawn

A New Dawn

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

  1. 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.
    
  2. Install the systemd unit:

    sudo cp systemd/anewdawn.service /etc/systemd/system/
    sudo systemctl daemon-reload
    sudo systemctl enable --now anewdawn.service
    
  3. Check status / logs:

    sudo systemctl status anewdawn.service
    sudo journalctl -u anewdawn.service -f