forked from UsergeTeam/Userge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.env.sample
159 lines (105 loc) · 3.55 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#!/bin/bash
#
# Copyright (C) 2020-2021 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.
# Remove this line first before doing anything else
_____REMOVE_____THIS_____LINE_____=true
# if you fill it correctly, but still having problem
# Remove the quotes foo="bar" to foo=bar
# ----------- 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 ----------- #
# Set true if your like to use unofficial plugins
LOAD_UNOFFICIAL_PLUGINS=false
# assert running single Userge instance to prevent from AUTH_KEY_DUPLICATED error.
ASSERT_SINGLE_INSTANCE=false
# This is best if you wanna add your own plugins
# Set this to fork of https://github.com/UsergeTeam/Custom-Plugins and add your plugins
CUSTOM_PLUGINS_REPO=""
# Userbot Workers Count : Default = cpu_count + 4
WORKERS=""
# Telegram Chat id For Updates of Rss Feed
RSS_CHAT_ID=""
# Googel Drive API Keys from https://console.developers.google.com/
G_DRIVE_CLIENT_ID=""
G_DRIVE_CLIENT_SECRET=""
# Set true if it is TeamDrive
G_DRIVE_IS_TD=false
# Index link for gdrive
G_DRIVE_INDEX_LINK=""
# Set name to your working directory
DOWN_PATH="downloads/"
# Your Languge ( ex: if english => 'en' )
PREFERRED_LANGUAGE="en"
# get API Key from 'https://free.currencyconverterapi.com/'
CURRENCY_API=""
# get API key for OCR module 'http://eepurl.com/bOLOcf'
OCR_SPACE_API_KEY=""
# add default city for weather
WEATHER_DEFCITY=""
# Userge AntiSpam API get it from @UsergeAntiSpamBot in Telegram
USERGE_ANTISPAM_API=""
# SpamWatch API get it from @SpamWatch in Telegram
SPAM_WATCH_API=""
# Weather API get it from 'https://openweathermap.org/'
OPEN_WEATHER_MAP=""
# RemoveBg API Key get it from 'https://www.remove.bg/api'
REMOVE_BG_API_KEY=""
# GDrive Folder ID
G_DRIVE_PARENT_ID=""
# set command prefix
CMD_TRIGGER="."
# set command prefix for SUDO users
SUDO_TRIGGER="!"
# set this to your USERGE fork on GitHub
UPSTREAM_REPO=""
# single character for finished progress
FINISHED_PROGRESS_STR='█'
# single character for unfinished progress
UNFINISHED_PROGRESS_STR='░'
# custom name for your sticker pack
CUSTOM_PACK_NAME=""
# custom audio max duration for voice chat plugin
MAX_DURATION=900
# set your own custom media for .alive or
# disable it by putting value 'nothing'
# accepted formats:
# a link to message: https://t.me/theuserge/8
# chat and message id separated by |: -1005545442|84565
ALIVE_MEDIA=""
# ----------- 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` ]
HU_STRING_SESSION=""
# >>> 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
# >>> optional variable for utube.py <<< #
YOUTUBE_DL_PATH=youtube_dl