-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathconfig.js.example
35 lines (29 loc) · 920 Bytes
/
config.js.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
25
26
27
28
29
30
31
32
33
34
module.exports = {
// telegram bot token and username, get from @BotFather
token: '1234567890:YOURTOKENHERE',
username: 'MyAwesomeStickerBot',
// binary paths
lottie2gif: 'lottie2gif'
// max images allowed in one pack
maximages: 50,
// max upload size by telegram
maxfilebytes: 49 * 1024 * 1024,
// file storage path
file_storage: './storage',
// recognized sticker sources
sticker_sources: [
'https://t.me/addstickers/',
'https://telegram.me/addstickers/'
],
// use language
default_lang: 'en',
available_lang: {
'en': ['English', 'English'],
'de': ['German', 'Deutsch'],
'zh-hans': ['简体中文', '中国'],
'zh-hant': ['正體中文', '中國'],
'pt': ['Português (Portugal)'],
'ru': ['Russian', 'Русский'],
'ua': ['Ukrainian', 'Українська']
}
};