Commit Graph

7 Commits

Author SHA1 Message Date
Youssif Shaaban Alsager 63a67d7a14
Add restart command (#53)
* Add restart command

This is handy when you need to restart the bot when something goes wrong.

Currently, the bot restarts but doesn't send a message after restarting
is done, feel free to improve this. It'll need something like storing
bot status locally then on bot start, if restart status exists send
a message.

Signed-off-by: yshalsager <ysh-alsager@hotmail.com>

* restart: switch to context based callbacks

* restart: restrict the command to owner only

Co-authored-by: Shivam Jha <jhashivam2020@gmail.com>
2020-04-21 15:33:05 +05:30
lzzy12 e0f4c4347c Separate out youtube-dl command
- /watch [youtube-dl supported link]

Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2020-04-14 23:20:52 +05:30
jaskaranSM 6b60ca4491 Squash of clone command
Implement clone feature
- clones a public/driveAccountAccessible Drive Link to bot G-Drive

use BotCommands for clone command trigger
2020-03-22 15:05:11 +05:30
jaskaranSM 3a3eca2411 Refactored disk to stats and added bot uptime
- Also helps tracking auto reboots on Heroku.
2019-11-01 21:18:46 +05:30
lzzy12 9f26ed107c Allow owner to unauthorize a user or a chat
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-14 21:53:31 +05:30
lzzy12 6ce2507c36 Implement /log command for easier debugging
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-14 20:50:35 +05:30
lzzy12 16886f5ac8 Make changing of bot commands easier
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
2019-10-12 20:56:49 +05:30