@@ -7,9 +7,10 @@ Telegram-InstaPy-Scheduling is bot for telegram which helps user to schedule [*I
77- Telegram bot token.
88
99### How to setup
10- 1 . Create a bot with [ @BotFather ] ( https://telegram.me/BotFather ) .
11- 2 . Rename * telegram-bot-data/config.ini.dist* => * telegram-bot-data/config.ini* .
12- 3 . Populate * config.ini* with your data.
10+ 1 . Clone this repo in your InstaPy folder.
11+ 2 . Create a bot with [ @BotFather ] ( https://telegram.me/BotFather ) .
12+ 3 . Rename * telegram-bot-data/config.ini.dist* => * telegram-bot-data/config.ini* .
13+ 4 . Populate * config.ini* with your data.
1314```
1415[telegram]
1516token = token_from_botfather
@@ -18,10 +19,10 @@ username = instagram_username
1819password = isntagram_password
1920 ```
2021> You can leave empty instapy section and get credentials as you prefer.
21- 4 . Rename *telegram-bot-data/allowed-id.txt.dist* => * telegram-bot-data/allowed-id.txt* .
22- 5 . Contact [ @GiveChatId_Bot] ( https://telegram.me/GiveChatId_Bot ) and get your chat id with * /chatid* command
23- 6 . Write your chat id inside * allowed-id.txt* .
24- 7 . Insert your InstaPy script code inside * threadRun* function.
22+ 5 . Rename *telegram-bot-data/allowed-id.txt.dist* => * telegram-bot-data/allowed-id.txt* .
23+ 6 . Contact [ @GiveChatId_Bot] ( https://telegram.me/GiveChatId_Bot ) and get your chat id with * /chatid* command
24+ 7 . Write your chat id inside * allowed-id.txt* .
25+ 8 . Insert your InstaPy script code inside * threadRun* function.
2526``` python
2627def threadRun ():
2728 try :
@@ -46,10 +47,13 @@ def threadRun():
4647 import traceback
4748 print (traceback.format_exc())
4849```
49- 8 . Launch * telegram-instapy.py* .
50+ 9 . Launch * telegram-instapy.py* .
5051
5152### Avaiable commands
52- - ** /set** <name > <time >: create a new schedule. Select day/days from bot.
53- - ** /unset** : delete schedule.
54- - ** /print** : print all setted job.
55- - ** /status** : print the status of InstaPy.
53+ | Command | Parameters | Description |
54+ | ---------| -------------------------| --------------------------------------------------|
55+ | /set | \< name\> \< hh:mm: ss \> | Create a new schedule. Select the day from bot. |
56+ | /unset | \< name\> | Delete a schedule. |
57+ | /print | | Print all setted jobs |
58+ | /status | | Print the status of InstaPy. |
59+
0 commit comments