Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muhammedfurkan/TelethonUserBot
Modular Telegram UserBot. Fully MongoDB supported.
https://github.com/muhammedfurkan/TelethonUserBot
downloader mongodb telegram-bot telethon telethon-userbot unrar untar unzip upload userbot youtube-dl
Last synced: 27 days ago
JSON representation
Modular Telegram UserBot. Fully MongoDB supported.
- Host: GitHub
- URL: https://github.com/muhammedfurkan/TelethonUserBot
- Owner: muhammedfurkan
- License: mpl-2.0
- Created: 2020-12-09T21:18:21.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T20:56:36.000Z (about 1 year ago)
- Last Synced: 2024-08-09T13:14:22.192Z (5 months ago)
- Topics: downloader, mongodb, telegram-bot, telethon, telethon-userbot, unrar, untar, unzip, upload, userbot, youtube-dl
- Language: Python
- Homepage:
- Size: 867 KB
- Stars: 29
- Watchers: 3
- Forks: 31
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT
Awesome Lists containing this project
README
## INFO
This userbot working on properly Railway.app !
## TelegramUserBot ❤️️
[![Sourcery](https://img.shields.io/badge/Sourcery-enabled-brightgreen)](https://sourcery.ai)
|Deploy To Heroku| Gitpod Online|
|--|--|
| [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/muhammedfurkan/TelethonUserBot) | [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/mmuhammedfurkan/TelethonUserBot) |### DeepSource
[![DeepSource](https://deepsource.io/gh/muhammedfurkan/TelethonUserBot.svg/?label=active+issues&show_trend=true)](https://deepsource.io/gh/muhammedfurkan/TelethonUserBot/?ref=repository-badge) [![DeepSource](https://deepsource.io/gh/muhammedfurkan/TelethonUserBot.svg/?label=resolved+issues&show_trend=true)](https://deepsource.io/gh/muhammedfurkan/TelethonUserBot/?ref=repository-badge)
### Setting Up Locally 👇🏻
- Fill in the required fields in **"sample_config.py"**
- Install the required libraries with **requirements.txt**.
( `pip3 install -r requirements.txt` )- And then start the bot. ( `python3 -m userbot` )
- If you did it correctly, the bot will run successfully.### Create String Session
[![Run on Repl.it](https://repl.it/badge/github/jasonalantolbert/replit-badger)](https://repl.it/@furki/telegram-session)
### Example Plugin
```python
from datetime import datetime
from userbot import bot
from userbot.util import admin_cmd@bot.on(admin_cmd(pattern="ping"))
async def ping(event):
start = datetime.now()
await event.edit("Pong!")
end = datetime.now()
ms = (end - start).microseconds / 1000
await event.edit("Pong!\n`{}`".format(ms))
```### Contact ✍️
If you run into any problems, feel free to let me know. You can contact me using [this link](https://t.me/By_Azade).### License ⚠️
- Copyright (C) 2020 by [M.Furkan](https://github.com/Muhammedfurkan) ❤️️
- Licensed under the terms of the [Mozilla Public License 2.0](https://github.com/muhammedfurkan/TelethonUserBot/blob/master/LICENSE)