- Python 3.6 or higher.
- Telegram API key
1 - get api key in telegram website.
- enter your number and click on
API development tools
- save
App api_id
&App api_hash
2 -
git clone https://github.com/xtabahkar/SelfBot
cd SelfBot/
3 - edit config file and copy your api_id
& api_hash
in fildes.
Warning: If you use an API_KEY from another account. Your account will be deleted by Telegram.
4 -
***DATABASE***
#Debian
sudo apt install redis-server
#Arch
sudo pacman -S redis-server
#Fedora
sudo dnf -y install redis
## enable and start database
service redis-server enable
service redis-server start
*** install req & run ***
pip3 install -r requirements.txt
python3.8 bot.py
help
: List of all command.boss
: this command add chat in boss account telegram and forward code telegram in boss chat![Mm] qurey (reply)
: qurey(media,text|photo|sticker|gif|voice|audio|doc|video|vn[video Note])mute user in group & private.[Aa]ddf qurey
: qurey(fosh , fuck , fuck you or something else!)[Dd]elf qurey
: Delete word saved with addf.[Ll]istf
: List of word saved with addf,[Cc]learf
: Clearlistf
.[Pp]in (reply)
: Pin replay message in group.[Uu]npin (reply)
: Unpin replay message in group.[Rr]eload0
&[Ll]eload
: Funny command.[Dd] (reply)
: delete a message.[Pp]y (reply)
: run code python3[Ii]D (reply)
: show chat id[Pp] qurey
: qurey (dollar ,bitcoin , ethereum ,litecoin ...) price crypto currency.[Ss]erver
: Detail Server.[Nn]obody | [Ee]verybody
: nobody can see status last seen & online | everybody can see your status last seen & online.[Ss]pam (digit) (reply)
: Send spam a replyed message To count digits .[Ss]pamf (digit)
: send message inlistf
as spam[Aa]ction
: off|on action in private or group.[Ss]etaction (actionlist)
: set a action for to see list action enteractionlist
.[Ss]ettings
: settings your selfbot and ...[Ss]et (reply)
: set a media as cmd .[Cc]mdlist
: list of cmd.[Dd]cmd
: Delete a cmd.[Aa]utodel
: auto delete command after Defult 10s.[Aa]utodel (digit)
: set time for delete message.[Aa]ddserver [reply]
: add ssh server with method USERNAME@IP;PASSWORD.[Cc]onnect
: connect server added withaddserver
after connect enter command.exit()
> Disconnect.[Mm]ark
: add chat to marklist and seen auto message.[Mm]arklist
: show marklist. for delete a chat usemark
.[Tt]oday
: show date and time.[Cc]ik
: kick a user In chat.[Cc]lear
: Clear chat history for both.[Bb]
: block a user. for unblock![Uu]b
- ...