Countula is a discord bot which runs a counting game!
It may be slightly evil.
!list
- List the available commands!help
- Provides "help" to the user!rules
- Provides the rules of the game
!state
- Provides the current state of the game
!stats
- Lists the stats of the user
!version
- Provides the version of the bot
Before deploying your own, you will need to make a discord bot, and add it to your server.
- Discord application creation: https://discord.com/developers/applications
- Discord oauth2 link generator(with correct permissions preconfigured): https://discordapi.com/permissions.html#68672
Ensure that you enable the MESSAGE CONTENT INTENT
in the bot settings, otherwise the bot will not be able to read messages.
Once you have the bot running, you will need to run the configure command to set up the counting channel in your guild:
!configure-countula
- NOTE: This will configure the bot to use the channel you ran the command in as the counting channel
- To run this command, the user must have the
Manage Webhooks
permission in the channel - It is recommended to create a new channel for this purpose, eg:
#counting
The !configure-countula
command can only be run once per channel to setup the channel for counting. If you run the command in another channel, it will create a second counting channel running a separate game.
If the user does not have the required permission, the bot will respond with an error message:
You can check out the image versions over on Docker Hub
- Clone the repo to your local machine
- Duplicate
./example.env
and rename it to.env
- Fill out the env variables
- In a terminal in the repo root, run
docker-compose up -d
- Clone the repo to your local machine
- Fill out the values in
helm/values.yaml
- Run
helm install countula ./helm
- Run
kubectl get pods
to see the status of the pod