This user bot learns all messages from a telegram user in a group chose by you
- before you do anything you want to run
setup.sh
by doingsudo bash setup.sh
- after you set everything up, you want to change the
config.ini
variables. do not touchapi_id
andapi_hash
- run
create_session.py
withpython3 create_session.py
- after you have your session is created, grab the name and put it into
session_name
in theconfig.ini
file. - you have to put your telegram ID in the
my_id
field. - and finally you will put the person's telegram ID you want the userbot to learn from in the
person_id_to_learn_from
. - finally run the
userbot.py
file by executingpython3 userbot.py
/ping - userbot responds with "pong"
/enablechat - enables chat mode so it can chat. i recommend calling this command when the database is at least at 100kb
/leave - by calling this command the userbot leaves from the current group the command was called on
/status - returns if chat mode is enabled or disabled
/learn (group link or group username) - after the userbot joins the group it will start start learning by getting all messages from the person defined in the config.ini person_id_to_learn_from field
/disablechat - disables chat mode
/stoplearning - the userbot will stop all its learning processes
BTC (Bitcoin) wallet address: 3D1FXKMMH46iDNYwn8u7bScrPfbu4ekfDc