Skip to content

d1temnd/PC-control-via-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

PC-control-via-telegram

script with which you can "control" the pc

EN installation

install python version 3.8.0
follow the links below
https://www.python.org/ftp/python/3.8.0/python-3.8.0-amd64.exe install python by instruction

press on keyboard win + r

in the opened window write "cmd" and press Enter

in the console that opened earlier, run pip3 install -r requirements.txt
and hit enter

go to telegram and search for "@BotFather"
create a bot by intruction
copy the token that the bot will give you

open file "main" in edit mode
insert the resulting token into the TOKEN = ""

go back to telegram and find the bot under the nickname "@ShowJsonBot" write to him first "/start" and then any message and copy the numbers from the "id" line:

from the link that "@BotFather" gave you
run the file "main"

русская установка

установите питон версии 3.8.0
перейдите по ссылки ниже
https://www.python.org/ftp/python/3.8.0/python-3.8.0-amd64.exe установте питон по инструкции

нажмите на клавиатуре "win+r"
в окно которое открылось напишите "cmd" и нажмите enter
в консоль ведите pip3 install -r requirements.txt и нажмите enter

зайдите в телеграм и найдите бота "@BotFather"
создайте нового бота
скопируйте токен который вам даст бот

откройте фаил "main" в режиме редактирования
вставте токен в поле TOKEN = ""
найдите бота "@ShowJsonBot" напишите ему команду "/start" а затем любую фразу и скапируйте строку "id" line:
вставте скопированый текст в строку CHAT_ID = ""
перейдите по ссылке которую дал вам "@BotFather"
запустите фаил "main"

About

script with which you can "control" the pc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages