forked from Kav-K/GPTDiscord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.env
31 lines (22 loc) · 1.52 KB
/
sample.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
OPENAI_TOKEN = "<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>"
DISCORD_TOKEN = "<92ee9185e04b0a98dde75686bcc3ab13baeccca10dfd4dd13d93818dbe054c74>"
#PINECONE_TOKEN = "<pinecone_token>" # pinecone token if you have it enabled. See readme
DEBUG_GUILD = "953745543488733204" # discord_server_id
DEBUG_CHANNEL = "1078077381778083962" # discord_chanel_id
ALLOWED_GUILDS = "953745543488733204,953745543488733204"
# People with the roles in ADMIN_ROLES can use admin commands like /clear-local, and etc
ADMIN_ROLES = "Admin,Owner"
# People with the roles in DALLE_ROLES can use commands like /dalle draw or /dalle imgoptimize
DALLE_ROLES = "Admin,Openai,Dalle,gpt"
# People with the roles in GPT_ROLES can use commands like /gpt ask or /gpt converse
GPT_ROLES = "openai,gpt"
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 = "977697652147892304"
# User API key db path configuration. This is where the user API keys will be stored.
USER_KEY_DB_PATH = "user_key_db.sqlite"
# Moderate things sent to /gpt ask and etc
PRE_MODERATE = "False"
# Force only english to be spoken in the server
FORCE_ENGLISH = "False"