Add .secrets
file to the root of the repository with the following content:
DISCORD_BOT_TOKEN=<EuroPythonTestBotToken_from_1Password>
PRETIX_TOKEN=<PretixStagingToken_from_1Password>
After you have added the .secrets
file, you can run the bot with the following command:
pipenv run python EuroPythonBot/bot.py
or with docker:
docker build -t discord_bot .
docker run -it -e DISCORD_BOT_TOKEN=$DISCORD_BOT_TOKEN -e PRETIX_TOKEN=$PRETIX_TOKEN discord_bot