Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 347 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 347 Bytes

pytobot

Turns any script into a telegram bot

pypi

Install

pip install --upgrade pytobot

Usage

Script:

while True:
    message = input()
    if message == "/hello":
        print("Hello, world!")

Terminal:

$ pytobot script.py -t TOKEN