A Discord bot to run and format Go code via the Go Playground.
$ go get -u github.com/daystram/go-play-discord/cmd/go-play-discord
$ go install github.com/daystram/go-play-discord/cmd/go-play-discord@latest
After providing the required configuration, the bot can simply be run as follows:
$ go-play-discord
Instead of installing the command itself, you can run the bot via Docker:
$ docker run --name go-play-discord --env-file ./.env -d daystram/go-play-discord
The bot could be configured by setting the following environment variables.
Name | Description | Default | Required |
---|---|---|---|
BOT_TOKEN |
Discord Bot token | "" |
✅ |
This project is licensed under the MIT License.