This repository was archived by the owner on Jun 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample_config.env
More file actions
135 lines (100 loc) · 3.88 KB
/
sample_config.env
File metadata and controls
135 lines (100 loc) · 3.88 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
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
# Remove this line first before doing anything
___________PLOX_______REMOVE_____THIS_____LINE__________=True
# Get these from https://my.telegram.org/
API_KEY = "YOUR API KEY"
API_HASH = "YOUR API HASH"
# OpenWeather Map API Key for .weather command
# Get from https://openweathermap.org/
OPEN_WEATHER_MAP_APPID = ""
WEATHER_DEFCITY = ""
# Location of ChromeDriver for .carbon module
# Example for Linux Machines : "/usr/bin/chromedriver"
CHROME_DRIVER = ""
# Get this value by running python3 string_session.py locally
STRING_SESSION = ""
# Headless GoogleChrome location for .carbon module
# Example for Linux Machines : "/usr/bin/chromium-browser"
GOOGLE_CHROME_BIN = ""
# OCR Space API Key for .ocr command
# Get from https://ocr.space/ocrapi
OCR_SPACE_API_KEY = ""
# Genius lyrics get this value from https://genius.com/developers both has same values
GENIUS_API_TOKEN = ""
# Genius lyrics get this value from https://genius.com/developers both has same values
GENIUS = ""
# remove.bg API Key for .rbg command
# Get from https://www.remove.bg/api
REM_BG_API_KEY = ""
# ChatID for the Log group
# Add a Hypen or a Negative Sign before ID
# This is a integer, Please don't use Strings
BOTLOG_CHATID = # this is an integer, please don't use quotes.
# Incase you want to turn off logging, put this to false
BOTLOG = True
# Set this to True if you want the error logs to be stored in
# the userbot log, rather than spamming other chats with it.
# Note that this requires a valid BOTLOG_CHATID to be set.
LOGSPAMMER = True
# If you need Verbosity on the Logging
CONSOLE_LOGGER_VERBOSE = False
# PM Auto-Ban Feature Switch
PM_AUTO_BAN = False
# Custom Default name for .alive
ALIVE_NAME = None
# set blacklist_chats where you do not want userbot's features
UB_BLACK_LIST_CHAT = ""
# Your Database URL
# Example: 'postgres://userbot:userbot@localhost:5432/userbot'
DATABASE_URL = ""
# YouTube Data API Key for .yt command
# Get from https://console.cloud.google.com
YOUTUBE_API_KEY = ""
# Country and Time Zone setup for
# .time and .date modules
COUNTRY = ""
TZ_NUMBER = # this is an integer, please don't use quotes.
# Google Drive Credentials
# for .gdrive module.
# Get from https://console.cloud.google.com
G_DRIVE_CLIENT_ID = ""
G_DRIVE_CLIENT_SECRET = ""
G_DRIVE_AUTH_TOKEN_DATA = ""
TEMP_DOWNLOAD_DIRECTORY = ""
# You have to have your own unique two values for API_KEY and API_SECRET
# Obtain yours from https://www.last.fm/api/account/create for Last.fm
LASTFM_API = None
LASTFM_SECRET = None
LASTFM_USERNAME = None # Your last.fm username
LASTFM_PASSWORD = "Your last.fm password"
# Bot will add before song name. For last.fm module.
# Example: GitHub: MacTavishAO : Skillet - Feel Invincible
BIO_PREFIX = ""
# default bio message
DEFAULT_BIO = ""
# FOR Lydia Access
LYDIA_API_KEY = ""
LYDIA_ANTI-PM = ""
# Report or kick some known spammer bots after
# they joins
ANTI_SPAMBOT = False
ANTI_SPAMBOT_SHOUT = False
# This is a required attribute for telegraph module
TELEGRAPH_SHORT_NAME="your_required_telegraph_username_here"
# String of comma separated words or group of words that you don't want the .term command to process
DISABLED_TERM_WORDS="apt, pacman"
# Switch to globally enable or disable logging of PMs instead of enabling or disabling per chat
DISABLE_PM_LOGS=True
# The Spotify account username to use with spotify now playing publisher publisher
SPOTIFY_USERNAME=
# The Spotify client id obtained from the developer dashboard
SPOTIFY_CLIENT_ID=
# The Spotify client secret obtained from the developer dashboard
SPOTIFY_CLIENT_SECRET=
# The user/channel/group (where you are a member) id where the songs need to be published
SPOTIFY_LIST_CHAT_ID=
# The delay (in seconds) with which the spotify api should be queried
SPOTIFY_QUERY_DELAY=
# The time (in seconds) to let a song play before publishing it. Default is 40
SPOTIFY_PLAY_TIME_BEFORE_PUBLISH=
# Decide whether to publish silently
SPOTIFY_PUBLISH_SILENTLY=