-
Notifications
You must be signed in to change notification settings - Fork 9
/
ex_config.py
47 lines (36 loc) · 1.43 KB
/
ex_config.py
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
# EDIT THIS FILE AND RENAME TO config.py TO MAKE THIS BOT WORKING
# FILL THESE VALUES ACCORDINGLY.
from Eiva_config import Config
class Development(Config):
# get these values from my.telegram.org.
APP_ID = 6 # 6 is a placeholder. Fill your 6 digit api id
API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e" # replace this with your api hash
# the name to display in your alive message.
# If not filled anything then default value is I'm Eiva.
YOUR_NAME = "I'm EÍVÁ"
# create any PostgreSQL database.
# I recommend to use elephantsql and paste that link here
DB_URI = "Your value"
# After cloning the repo and installing requirements...
# Do `python string.py` and fill the on screen prompts.
# String session will be saved in your saved message of telegram.
# Put that string here.
EivaBOT_SESSION = "Your value"
# Create a bot in @BotFather
# And fill the following values with bot token and username.
BOT_TOKEN = "Your value" #token
BOT_USERNAME = "Your value" #username
# Create a private group and add rose bot to it.
# and type /id and paste that id here.
# replace that -100 with that group id.
LOGGER_ID = -100
# Custom Command Handler.
HANDLER = "."
# enter the userid of sudo users.
# you can add multiple ids by separating them by space.
# fill values in [] only.
SUDO_USERS = []
# Custom Command Handler for sudo users.
SUDO_HANDLER = ","
# end of required config
# Eivabot