-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.env
21 lines (15 loc) · 984 Bytes
/
sample.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
OPENAI_TOKEN = "<openai_api_token>"
DISCORD_TOKEN = "<discord_bot_token>"
DEBUG_GUILD = "" # discord_server_id
DEBUG_CHANNEL = "" # discord_chanel_id
ALLOWED_GUILDS = ""
# People with the roles in ADMIN_ROLES can use admin commands like /clear-local, and etc
ADMIN_ROLES = ""
# People with the roles in DALLE_ROLES can use commands like /dalle draw or /dalle imgoptimize
DALLE_ROLES = ""
# People with the roles in GPT_ROLES can use commands like /gpt ask or /gpt converse
GPT_ROLES = ""
WELCOME_MESSAGE = "Hi There! Welcome to our Discord server. We hope you'll enjoy our server and we look forward to engaging with you!" # This is a fallback message if gpt3 fails to generate a welcome message.
USER_INPUT_API_KEYS="False" # If True, users must use their own API keys for OpenAI. If False, the bot will use the API key in the .env file.
# Moderations Service alert channel, this is where moderation alerts will be sent as a default if enabled
MODERATIONS_ALERT_CHANNEL = ""