-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env
21 lines (16 loc) · 1.44 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#########################################################################
# Use .env.dev for development, otherwise you might expose your secrets #
#########################################################################
TOKEN="your token here" # https://discord.com/developers/applications
GUILD="" # if set, the commands will only be available in this guild whose ID is linked here
SKIP_COMMAND_VALIDATION="false" # if set to true, the bot will not check if the commands are up to date
ACCENT_COLOR="Blurple" # the color of the embeds
DELETE_BUTTON_TIMEOUT="10" # the time in s before the delete button disappears (leave empty for infinite)
ENABLE_REPLICAS="false" # if set to true, the bot will translate channels message as defined in the db by the `/replicas` command ⚠ NEEDS THE MESSAGE_CONTENT PRIVILEGED INTENT ⚠
TRANSLATION_API_DRIVER="google_search" # google_search, google_cloud, libretranslate or deepl
SELECTED_LANGUAGES="en,es,fr,de,it,ja,ko,pt,ru,zh-CN,zh-TW,pl,nl,sv,ar,cs,da,fi,el,hi,hu,id,no,la,ro," # the languages you want to translate to and from (comma separated)
GOOGLE_API_KEY="" # your google API key (paid google driver)
DEEPL_API_KEY="" # your deepl auth key (deepl driver)
LIBRETRANSLATE_URL="" # your libretranslate api url (libretranslate driver) (e.g. http://localhost:6969)
SQLITE_PATH="database.sqlite" # the path to the database file
DATABASE_DRIVER="sqlite" # sqlite is the only driver supported for now but feel free to add more