-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
24 lines (21 loc) · 1.29 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# General config
SERVER_PORT=5000 # Express HTTP server port
IS_LOG_TO_FILE=false # Should the logs be written to a file
COOLDOWN_MINUTES=10 # How many minutes to wait before allowing more queries or read duplicate events
# Discord config
DISCORD_BOT_TOKEN= # Token of the discord bot
DISCORD_APPLICATION_ID= # Application id of the discord bot
DISCORD_SERVER_ID= # Server id of the discord server
DISCORD_AFK_CHANNEL_ID= # Channel id of the discord server's AFK channel, so users in it won't be counted
DISCORD_IS_LOG_SERVER_ID=false # Should the Discord server id be logged when a user joins
DISCORD_IS_LOG_CHANNEL_ID=false # Should the Discord channel id be logged when a user joins
# Whatsapp config
WHATSAPP_CHAT_ID= # Whatsapp group chat id
WHATSAPP_WHO_IS_HERE_MESSAGE="someone here?" # Whatsapp input message to get the online users
WHATSAPP_TLDR_FOR_ME_MESSAGE="tldr me" # Whatsapp input message to get a summary of the chat
WHATSAPP_IS_LOG_CHAT_ID=false # Should the WhatsApp chat id be logged when a new message is received
# AI config
AI_API_KEY= # OpenAI API key
AI_MAX_TOKENS=10000 # Maximum tokens to use in a single request
AI_USE_ADJECTIVES=false # Should the AI use adjectives in its responses
AI_HISTORY_MESSAGES_AMOUNT=100 # How many messages to use as context for the AI