MitchellBerend / bits-and-bytes-bot

Discord bot for bits & bytes book club

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bits-and-bytes-bot

Discord bot for bits & bytes book club

Running locally

  • Copy .env.example and rename it to .env
  • Add DISCORD_API_SECRET, GUILD_ID, and POSTGRES_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 and Send Messages, Use Slash Commands, and Read Messages/View Channels permissions under the Oauth2 settings
  • TODO: SETUP DOCKER COMPOSE WITH PG DB
  • run ENV=local go run . to start bot

Docker

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

About

Discord bot for bits & bytes book club

License:MIT License


Languages

Language:Go 94.2%Language:Dockerfile 5.8%