TOKEN=your_token
ROLE_MOD=707318869445967872
ROLE_COLORS=707318869445967872,707318869445967872
CHANNEL_SHOWCASE=635625917623828520
CATEGORY_MOD_PRIVATE=635627141123538966,
CHANNEL_FEEDBACK=
CHANNEL_BOTLOG=
# 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
# remember to set your Environment Variables
go run .
# All done, the bot should be running now.
- Go
- PostgreSQL 11 or up
No need to do this if you use Nix.
# Database
createdb trup
psql trup <db/structure.sql
export DATABASE_URL=postgresql://user@localhost/trup