forked from TG-UserBot/TG-UserBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample_config.ini
More file actions
48 lines (42 loc) · 1.42 KB
/
sample_config.ini
File metadata and controls
48 lines (42 loc) · 1.42 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[telethon]
# Get your own Telegram API key from https://my.telegram.org/apps.
api_id = 123456
api_hash = 0123456789abcdef0123456789abcdef
# redis_endpoint = redis-66699.x66.us-east-0-0.xx0.cloud.redislabs.com:66699
# redis_password = Youcantcatchthis&123
[userbot]
# Uncomment the things you'd want to change.
# auto or none for the sticker packs uses the default pack name and nickname
# setting a prefix locks the prefix to the one you specified. (do resetprefix to undo it via bot)
console_logger_level = INFO
# pm_permit = True
# logger_group_id = -1001234567890
# userbot_prefix = .
# default_sticker_pack = auto
# default_animated_sticker_pack = auto
# userbot_regexninja = True
# self_destruct_msg = True
[api_keys]
# api_key_heroku = Youcantcatchthis&123
# api_key_removebg = None
# Don't modify anything below this unless you know what you're doing!
# https://github.com/settings/tokens/new, to access private repos enable "repo"
# You can add multiple repo links using the format shown in inlcude key as well
# Using include and exclude both won't work. That just makes you not smart.
[plugins]
enabled = True
root = userbot/plugins
# user = notkandnub
# token = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
# repos = user/repo, www.github.com/user1/repo1/
# include = misc
# www
# exclude = www
# misc
# Currently useless. Skip it.
[proxy]
enabled = False
hostname = 11.22.33.44
port = 1080
username = <your_username>
password = <your_password>