Discord bot for bits & bytes book club
- Copy
.env.example
and rename it to.env
- Add
DISCORD_API_SECRET
,GUILD_ID
, andPOSTGRES_URI
- For more information on how to set up a discord api client please see: https://discord.com/developers/docs/getting-started
- You will need to set up the
bot
scope andSend Messages
,Use Slash Commands
, andRead Messages/View Channels
permissions under the Oauth2 settings
- You will need to set up the
- TODO: SETUP DOCKER COMPOSE WITH PG DB
- run
ENV=local go run .
to start bot
You can build a docker image by running the task docker-build
command.
After creating and filling a .env with the variables mentioned above, you can
also spin up a full environment with docker-compose up