Skip to content

plutonium777/telegram_comments_spamer_userbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comments Spam Bot

This bot writes spam message at new post comments as fast as possible.

Installation

git clone https://github.com/plutonium777/telegram_comments_spamer_userbot.git
cd telegram_comments_spamer_userbot
pip install -r requirements.txt
python userbot.py

Don't forget to configure data/config.ini file and variables in userbot.py

Delay

Delay = 0.25, You can increase delay between interactions with Telegram servers if your account dying fast

Post Types

TextPost

Syntax:

spam_posts = [TextPost("text")]

Example:

spam_posts = [TextPost("Simple text post")]

Multiline example:

spam_posts = [TextPost("""
This will be at first line
This will be at second line
This will be at third line
""")]

PicturePost

Image file needs to be in one directory with userbot.py

Syntax:

spam_posts = [PicturePost("photo", "caption")]

Example:

spam_posts = [PicturePost("nat.jpg", "Beautiful nature! 😉")]

StickerPost

You can get sticker id here: https://t.me/sticker_file_id_bot

Syntax:

spam_posts = [StickerPost("sticker_id")]

Example:

spam_posts = [StickerPost("CAACAgIAAxkBAAL6PGIzHXlhIR_MIRDTXaXz116O2Ic8AAJpAAOmysgM41g56v0Hj1wjBA")]

RandomPost

Syntax:

spam_posts = [RandomPost(posts))]

Example:

spam_posts = [RandomPost(TextPost("Random 1"), TextPost("Random 2"))]

MultiPost

Syntax:

spam_posts = [posts]

Example:

spam_posts = [TextPost("Some text!"), PicturePost("nat.jpg", "And a beautiful nature!")]

DelayedPost

Syntax:

spam_posts = [post(..., delay=seconds)]

Example:

spam_posts = [TextPost("1st!", delay=2), PicturePost("nature.jpg", "nature", delay=4)]

Markdown

Both methods are allowed:

Used Python modules

pyrogram=1.4.16
tgcrypto

Any questions?