forked from UsergeTeam/Loader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.env.sample
91 lines (53 loc) · 1.75 KB
/
config.env.sample
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#!/bin/bash
#
# Copyright (C) 2020-2022 by UsergeTeam@Github, < https://github.com/UsergeTeam >.
#
# This file is part of < https://github.com/UsergeTeam/Userge > project,
# and is released under the "GNU v3.0 License Agreement".
# Please see < https://github.com/UsergeTeam/Userge/blob/master/LICENSE >
#
# All rights reserved.
# ----------- REQUIRED ----------- #
# Get them from https://my.telegram.org/
API_ID=""
API_HASH=""
# Mongodb url from https://cloud.mongodb.com/
# comment below line if you are going to use docker !
DATABASE_URL=""
# Telegram Log Channel ID
LOG_CHANNEL_ID=""
# one of USERGE MODE
# you can use userge as [ USER or BOT or DUAL ] MODE
# see below for more info
# ----------- OPTIONAL ----------- #
# assert running single Userge instance to prevent from AUTH_KEY_DUPLICATED error.
ASSERT_SINGLE_INSTANCE=false
# Custom pip packages which are seperated by spaces to install while starting the bot.
CUSTOM_PIP_PACKAGES=""
# Userbot Workers Count : Default = cpu_count + 4
WORKERS=""
# Set name to your working directory
DOWN_PATH="downloads/"
# set command prefix
CMD_TRIGGER="."
# set command prefix for SUDO users
SUDO_TRIGGER="!"
# ----------- Only If Using Heroku ----------- #
# get a Heroku API key from http://dashboard.heroku.com/account
HEROKU_API_KEY=""
# given app name to the heroku app
HEROKU_APP_NAME=""
# ----------- USERGE MODES ----------- #
# >>> USER MODE <<< #
# use userge as user
# get this using [ '@genStr_Bot' or `bash genStr` ]
SESSION_STRING=""
# >>> BOT MODE <<< #
# use userge as bot
# get this from https://t.me/botfather if you like to use userge as a bot
# And your user id
BOT_TOKEN=""
OWNER_ID=""
# >>> DUAL MODE <<< #
# use userge as both user and bot
# fill all USER MODE and BOT MODE