Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 544 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 544 Bytes

Europython 2023 Discord Bot

Run the bot

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