Pluggable asyncio
Telegram userbot based on
Telethon.
Simply clone the repository and run the main file:
git clone https://github.com/udf/uniborg.git
cd uniborg
python stdborg.py
The modular design of the project enhances your Telegram experience through plugins which you can enable or disable on demand.
Each plugin gets the borg
, logger
and storage
magical
variables
to ease their use. Thus creating a plugin as easy as adding
a new file under the plugin directory to do the job:
# stdplugins/myplugin.py
from telethon import events
@borg.on(events.NewMessage(pattern='hi'))
async def handler(event):
await event.reply('hey')
The core features offered by the custom TelegramClient
live under the
uniborg/
directory, with some utilities, enhancements and the core plugin.
Check out the already-mentioned plugins directory to learn how to write your own, and consider reading Telethon's documentation.
uniborg's People
Forkers
nightmachinery nkonin anonymouskiddo pikachugodofthunder mujeebcpy technomad1 harik4906 aadambro adarshaneesh spechide no-identity iranzo generalaac techopsgit-sudo eli332 fakegit ibittz sanjanigun the-underdox mrtrendy eylemuserbot technoayanofficial scorpionkiller1 gillzxo freedomuz kaiosui d0tapk fadhlannzlr shadow-technology drmhdh kleiovalentien serguk89 bharathnutakki qwerty-space yahiko963 mr-confused tamilvip007 hidayataden1 devmagic18 patrickhumai shaddoare robimez daddythefather luckyrana9810 gk-botzRecommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.