.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
OPENAI_API_KEY
secret
DISCORD_BOT_TOKEN
secret
DISCORD_CLIENT_ID
ALLOWED_SERVER_IDS
SERVER_TO_MODERATION_CHANNEL
DEFAULT_MODEL
brew install flyctl && fly launch --from https://github.com/openai/gpt-discord-bot
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/openai/gpt-discord-bot
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/openai/gpt-discord-bot