A discord bot for Orel that will detect when he is cursing in hebrew and in english and will write comments back at him.
- A Bot & Application configured
- Discord Token
- Discord Server
- To run using docker:
docker run -d -e DISCORD_TOKEN={DISCORD_TOKEN} -e DISCORD_GUILD={DISCORD_SERVER} -e TARGET_USER={USERNAME} --name discord_bot pobek/discord-orel-bot:v1
- Update
secret.yaml
file with the correctDISCORD_TOKEN
. - Run
kubectl apply
:
kubectl apply -f kubernetes/
- Change directory to
helm/
- Edit the values for the configuration if you want
- Run
helm install
:
helm install --name playground --namespace default --set secret.token=<discord-token> ./discord-orel-bot
- Create a
.env
file and change the values:
DISCORD_TOKEN={DISCORD_TOKEN}
DISCORD_GUILD={DISCORD_SERVER}
TARGET_USER={USERNAME}
- Install required packages:
pip3 install -r requirements.txt
- Run
bot.py
with python3:
python3 bot.py