https://github.com/muhammadmp97/mediumbot
A contact bot to hide your personal account from people
https://github.com/muhammadmp97/mediumbot
bot contact-form telegram telegram-bot
Last synced: 3 months ago
JSON representation
A contact bot to hide your personal account from people
- Host: GitHub
- URL: https://github.com/muhammadmp97/mediumbot
- Owner: muhammadmp97
- License: mit
- Created: 2022-06-05T16:03:41.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-31T11:27:12.000Z (over 2 years ago)
- Last Synced: 2025-03-25T09:02:59.648Z (3 months ago)
- Topics: bot, contact-form, telegram, telegram-bot
- Language: PHP
- Homepage:
- Size: 24.4 KB
- Stars: 19
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MediumBot
A contact bot to hide your personal account from people.## Installation
1. Clone the project:
`git clone https://github.com/WebPajooh/MediumBot`
2. Edit `resources/settings.json` .
3. Upload the files to your server and use [setWebhook](https://core.telegram.org/bots/api#setwebhook) to make a connection between your bot and the script. Your URL should be something like this: `https://example.com/some_directory/src/bot.php`.
That's it! 😌## Settings
| Key | Description | Example |
|--|--|--|
| bot_token | Your token | 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
owner_id | Your ID | 301126514
language | Bot language | english
start_message | The message to show for /start command | Hello!\nHow can I help you?
offline_message | The message to show in offline mode | Sorry... I can't answer your questions now.
protect_content | Protects the contents of the sent message from forwarding and saving | true
debug_mode | Sends error messages | false## Commands
| Command | Description | Public |
|--|--|--|
| `/start` | Shows a starting message to the user | Yes |
| `!block` | Blocks the user whose message is replied | No |
| `!unblock` | Unblocks the user whose message is replied | No |
| `!setstartmessage` | Updates the starting message to replied message | No |
| `!offline` | Actives offline mode and updates the offline mode message to replied message | No |
| `!online` | Deactivates offline mode and bot will be able to receive messages | No |## Translations
Currently, we support English, Arabic and Persian. The translation files are simple json files located in `resources/translations` directory, containing some strings used by bot. If you needed to customize yours, just edit the language file and upload it to your server.## ⚠️ Issues or Pull Requests
Feel comfortable to report bugs, but we're strict about merging pull requests add new features because we prefer keeping it as simple as possible.