forked from foxcornlab/telegram-mirror-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.constants.js
18 lines (18 loc) · 996 Bytes
/
.constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
process.env["NTBA_FIX_319"] = 1;
module.exports = Object.freeze({
TOKEN: '1025390398:AAHiWRCPifucq6dmg2TbPgbIa1s8dgdAp8s',
ARIA_SECRET: 'aeiou.123',
ARIA_DOWNLOAD_LOCATION: '/',
ARIA_DOWNLOAD_LOCATION_ROOT: '/', //The mountpoint that contains ARIA_DOWNLOAD_LOCATION
ARIA_FILTERED_DOMAINS: [], // Prevent downloading from URLs containing these substrings
ARIA_FILTERED_FILENAMES: [], // Files/top level directories with these substrings in the filename won't be downloaded
GDRIVE_PARENT_DIR_ID: '1-jJBMw1J2l87uMdA1p1kCSvNmlCzYAKa',
SUDO_USERS: [730545568], // Telegram user IDs. These users can use the bot in any chat or in dm.
AUTHORIZED_CHATS: [], // Telegram Chat IDs. Anyone in these chats can use the bot.
DOWNLOAD_NOTIFY_TARGET: { // Information about the web service to notify on download completion.
enabled: false, // Set this to true to use the notify functionality
host: 'hostname.domain',
port: 80,
path: '/botNotify'
}
});