[config] Add example file for guidance
In this commit, I also added comments in the root .gitignore file. Signed-off-by: Andrei Jiroh Eugenio Halili <andreijiroh@madebythepins.tk>
This commit is contained in:
parent
e47bb3acdf
commit
f7b57f26fd
|
@ -123,6 +123,8 @@ dmypy.json
|
||||||
|
|
||||||
# Pyre type checker
|
# Pyre type checker
|
||||||
.pyre/
|
.pyre/
|
||||||
|
|
||||||
|
# Pyrogram stuff + Userbot config
|
||||||
*.session
|
*.session
|
||||||
spam/config.py
|
spam/config.py
|
||||||
*.session-journal
|
*.session-journal
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
# This file is an template for configuring your SpamProtectionAgent Userbot.
|
||||||
|
# Duplicate this file and save as config.py.
|
||||||
|
|
||||||
|
# To run the userbot, make this variable defined. DO NOT LEAVE IT BLANK!
|
||||||
|
ENABLE = ""
|
||||||
|
|
||||||
|
# Need to debug stuff? Enable this one to show debug logs which might contains
|
||||||
|
# senstive information.
|
||||||
|
LOGGER = ""
|
||||||
|
|
||||||
|
# Command prefix for userbot commands.
|
||||||
|
Command = "!"
|
||||||
|
|
||||||
|
# ID and Hash for first user.
|
||||||
|
# Get one from https://my.telegram.org/apps
|
||||||
|
user1_api_id = ""
|
||||||
|
user1_api_hash = ""
|
||||||
|
user1_session_string = ""
|
Loading…
Reference in New Issue