No description
- PHP 70.2%
- SCSS 12.4%
- CSS 12.4%
- JavaScript 5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| Actions | ||
| Bot | ||
| Markdown | ||
| Plugins | ||
| Styles | ||
| TOs | ||
| Views | ||
| .gitattributes | ||
| .gitignore | ||
| index.php | ||
| README.md | ||
| sds-to-functions.php | ||
| sds-to-main.js | ||
| webdav-api.php | ||
SETUP
- Clone the repository
- Create the following files (make sure they are not accessible from the web):
- webdavuser.config
{ "url" : "https://cloud.***/", "user" : "***"", "password" : "***" }- Bot/chats.json
{ "groups": [] }- Bot/tokens.json
[]- Bot/todelete.json
[]- Bot/log.txt
Empty
- Create a telegram bot and get the token
- Paste the token in Bot/token.txt
- Create a salt for the encryption and paste it in salt.txt
- Set up a webhook to Bot/telegram.php
https://api.telegram.org/botXXXX/setWebhook?url=XXX/Bot/telegram.php (add "&drop_pending_updates=true" to reset the bot when it gets stuck)