A Discord bot for the Unixporn community
- Go
- PostgreSQL 11 or above
After cloning the repository, create a file called .env
containing the necessary environment variables (as shown in /.env.example
) in the project root.
Afterwards, you can initialize the Docker services by running
docker-compose up -d
# Install the Nix package manager:
curl -L https://nixos.org/nix/install | sh
# Clone this repo
git clone https://github.com/unixporn/trup
cd trup
# Enter the dev environment
nix-shell
# Set environment variables
cp .env.example .env
go run .
No need to do this if you use Nix.
# Database
createdb trup
psql trup <db/structure.sql
export DATABASE_URL=postgresql://user@localhost/trup
- davidv171 & 6gk for fetcher.sh
- aosync for commands purge and move
- tteeoo for commands git, desc and dotfiles
- kayew for a more explicit setfetch message
- davidv171 for mute command
- elkowar for blocklist command, media-logging in botlog and !poll multi
- Tanish2002 for info command, cleaner !help, DM for ban and blocklist violation and more options for role command