diff --git a/.gitignore b/.gitignore index ba9d6f5..b8d42f5 100644 --- a/.gitignore +++ b/.gitignore @@ -123,6 +123,8 @@ dmypy.json # Pyre type checker .pyre/ + +# Pyrogram stuff + Userbot config *.session spam/config.py *.session-journal diff --git a/spam/config.sample.py b/spam/config.sample.py new file mode 100644 index 0000000..b50769d --- /dev/null +++ b/spam/config.sample.py @@ -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 = "" \ No newline at end of file