forked from Teameviral/FIREXUSERBOT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exampleconfig.py
45 lines (35 loc) · 1.46 KB
/
exampleconfig.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
import os
from sample_config import Var
class Development(Config):
# get this values from my.telegram.org.
# 6 is just a placeholder. Fill your own api id & hash.
APP_ID = 6
API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"
# the name to display in your alive message.
# If not filled anything then default value is eviral User.
ALIVE_NAME = "eviral User"
# 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_session.py and fill the on screen prompts.
# String session will be saved in your saved message of telegram.
# Put that string here.
eviral_STRING = "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.
PRIVATE_GROUP_BOT_API_ID = -100
# Custom Command Handler.
COMMAND_HAND_LER = os.environ.get("COMMAND_HAND_LER", r"\."
#User Command Handler
HANDLER = os.environ.get("COMMAND_HAND_LER", r"\."
# enter the userid of sudo users.
# you can add multiple ids by separating them by space.
# fill values in [] only.
SUDO_USERS = []
# command hanler for sudo users.
SUDO_COMMAND_HAND_LER = os.environ.get("SUDO_COMMAND_HAND_LER", r"\,"