- /info -> gives user stat
- /mynotes -> can save notes
- /stop -> stops the bot-no need to block
- /ban -> can ban a user
- /unban -> can unban a user
- /lock -> will lock the bot no msg will be forwared
- /unlock -> will unlock the bot
- /code -> add a giveaway code will be used as detection (extra feature)
- /giveaway ->when true then only code that is a giveaway code will be forwared (extra feature)
- /brodcast ->is used for broadcasting to all bot user BUT this is currently not working
- Enter your API Token in the bot.php file
- Setup the webhook by https://api.telegram.org/bot.$botToken./setwebhook?url=url. For url use your hosting site url which redirects to the bot.php file
After that the bot should start working
- For Admin -> Reply to sender message
- For Admin -> Broadcast a message to all user in the bot. PHP dont work well
Using Database (like phpmyAdmin) instead of .txt files
Author: Bishow Bhattarai