Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hmmm #24

Open
wants to merge 182 commits into
base: patch-4
Choose a base branch
from
Open

Hmmm #24

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
3f57f61
minor-fix
GauthamramRavichandran Jun 4, 2020
96ad1e2
Update download.py
muhammedfurkan Jun 6, 2020
a92180b
Add DeezLoader plugin
SpEcHiDe Jun 7, 2020
48fd464
Add deezloader dependancy
SpEcHiDe Jun 7, 2020
56c2ec6
Add DEEZER_ARL_TOKEN to sample_config
SpEcHiDe Jun 7, 2020
a57191c
fix indentationError, maybe 😖
SpEcHiDe Jun 7, 2020
77d80ce
🤮🤮 make it easier to copy session string 😐
SpEcHiDe Jun 9, 2020
de82c2c
Changed heroku-postgresql Version
TGExplore Jul 10, 2020
0849249
update postgres version
SpEcHiDe Jul 10, 2020
48f63e7
Merge pull request #97 from TGExplore/patch-1
SpEcHiDe Jul 10, 2020
677f151
tests
SpEcHiDe Jul 12, 2020
04845f9
tests
SpEcHiDe Jul 12, 2020
da4d107
update README, with disclaimer
SpEcHiDe Jul 12, 2020
b80c9f0
tests: maybe https://t.me/c/1279877202/2539
SpEcHiDe Jul 12, 2020
b69ff7c
tests
SpEcHiDe Jul 12, 2020
3356078
tests: https://t.me/c/1279877202/3378
SpEcHiDe Jul 12, 2020
61e7d5a
add some LOGgers
SpEcHiDe Jul 12, 2020
1ceb804
fix is_admin condition check
SpEcHiDe Jul 13, 2020
cbffa61
temporary removing. ✌️ will be re-stored, soon ™️
SpEcHiDe Jul 13, 2020
d09492b
fix missing import
SpEcHiDe Jul 13, 2020
c33adc0
revert -_-
SpEcHiDe Jul 13, 2020
2164e06
remove un-used code
SpEcHiDe Jul 13, 2020
c026eb6
fixes: f34b836f2ebe8fe824dd2da462fd5a8a80cb93e9
SpEcHiDe Jul 14, 2020
4bc19a9
issue #70 and #81
SpEcHiDe Jul 22, 2020
84126a9
b36dda2bf6c635810b3eba2fa65a26dff3df61ca: copyied
SpEcHiDe Jul 22, 2020
9646cb6
fix replies
SpEcHiDe Jul 22, 2020
cf7007e
stop spamming.
SpEcHiDe Jul 22, 2020
3c038fa
merge conflict because committing after a looong time
SpEcHiDe Jul 22, 2020
b230980
fix LOG spamming
SpEcHiDe Jul 22, 2020
0985042
add .gphoto upload command
SpEcHiDe Jul 22, 2020
f7b141c
update README
SpEcHiDe Jul 22, 2020
d539d00
dgplgru: -_-
SpEcHiDe Jul 22, 2020
7c7d25e
Update app.json
SpEcHiDe Jul 22, 2020
d0012ed
Google Photos: change reegex.
SpEcHiDe Jul 22, 2020
f616339
ydk: fixes
SpEcHiDe Jul 23, 2020
09eb299
v1: Google Photos
SpEcHiDe Jul 23, 2020
e87d81d
fix an edge case
SpEcHiDe Jul 23, 2020
351b604
adding TeamDrive support to gDrive.py (#98)
rking32 Jul 24, 2020
8267811
hmm: https://t.me/c/1220993104/640605
SpEcHiDe Jul 25, 2020
8352e77
adding upload progress to gPhoto
rking32 Jul 25, 2020
ac36ba7
no need that
rking32 Jul 25, 2020
68c7366
fixes
SpEcHiDe Jul 30, 2020
c3dd866
stickers: fix too many stickers
SpEcHiDe Aug 1, 2020
5f0017b
change sticker pack short name selection algo..
SpEcHiDe Aug 1, 2020
ebbaa4c
Consider merging isinstance calls (#100)
muhammedfurkan Aug 6, 2020
07bb071
fix xkcd,
SpEcHiDe Aug 8, 2020
5c07ee2
add Dockerfile
SpEcHiDe Aug 10, 2020
6464c80
update README
SpEcHiDe Aug 10, 2020
e597c5d
add database status
SpEcHiDe Aug 10, 2020
befbfea
fix Dockerfiles
SpEcHiDe Aug 10, 2020
a810f60
add bot uptime, and free disk space
SpEcHiDe Aug 11, 2020
cfbb5bb
fix webp (as photos) issue [RWIIF]
SpEcHiDe Aug 20, 2020
0aa080f
fix view counter(s).
SpEcHiDe Aug 20, 2020
eb71866
Changed UniBorg to uniborg to avoid tag error :) (#102)
gautamajay52 Aug 21, 2020
23436b7
fix typos
SpEcHiDe Aug 30, 2020
567c711
improve screenshots and vieo cutting, this fixes #81
SpEcHiDe Sep 13, 2020
e039542
remove blocking subprocess calls
SpEcHiDe Sep 13, 2020
1839684
this, fixes issue #80
SpEcHiDe Sep 13, 2020
b586c0a
this fixes issue number #79
SpEcHiDe Sep 13, 2020
f6ed4c9
remove verystream, because https://torrentfreak.com/openload-and-othe…
SpEcHiDe Sep 13, 2020
6d32833
remove use LESS plugin, this probably fixes #70
SpEcHiDe Sep 13, 2020
5ab0d4b
remove some imports
SpEcHiDe Sep 13, 2020
3af51e5
mimic FTG
SpEcHiDe Sep 13, 2020
0e9c2e4
fix paths
SpEcHiDe Sep 20, 2020
6c10657
this fixes issue #101
SpEcHiDe Sep 20, 2020
479522c
lint
SpEcHiDe Sep 20, 2020
c52ae63
this fixes issue #83
SpEcHiDe Sep 20, 2020
78b76b8
this closes issue #82
SpEcHiDe Sep 20, 2020
47da101
lint
SpEcHiDe Sep 20, 2020
9074784
fix issue #77
SpEcHiDe Sep 20, 2020
6383217
'Refactored by Sourcery' (#105)
sourcery-ai[bot] Sep 21, 2020
34e6bab
cleanup
SpEcHiDe Sep 21, 2020
1d46baa
lint
SpEcHiDe Sep 21, 2020
843cced
bring back @MasterTagAlertBot, and this fixes #73
SpEcHiDe Sep 21, 2020
ce6e513
patch. image search.
SpEcHiDe Sep 22, 2020
761ec29
fix typo (#106)
AVATARX0TIC Sep 25, 2020
8be905f
fix https://t.me/c/1220993104/700087
SpEcHiDe Sep 26, 2020
21ef5a8
kang udf's info.py
SpEcHiDe Sep 27, 2020
e74dda9
rename because @jonakek told -_-
SpEcHiDe Sep 27, 2020
acc10be
add koar helps
SpEcHiDe Sep 28, 2020
d16aef0
कुछ बातें न कही जाए तो अच्छा
SpEcHiDe Sep 28, 2020
8730929
restructuring
SpEcHiDe Sep 28, 2020
d908f63
update eval, thanks to @udf
SpEcHiDe Sep 28, 2020
23ca65c
Corrected (#108)
AVATARX0TIC Sep 29, 2020
4936a46
this fixes #65
SpEcHiDe Oct 2, 2020
826b619
remove torrenting references
SpEcHiDe Oct 2, 2020
0f5a061
remove rclone references
SpEcHiDe Oct 2, 2020
258b07b
deleting un-reliable use of APIs.
SpEcHiDe Oct 2, 2020
aea8912
deep re-write: 👉 breaking FTG compat, and other FORKs 👈
SpEcHiDe Oct 2, 2020
d0de12f
remove un-needed dependancies
SpEcHiDe Oct 2, 2020
67b6b77
hmm
SpEcHiDe Oct 2, 2020
01a8012
fix conflicting imports. https://telegra.ph/file/e2c0d16ed06cd072724c…
SpEcHiDe Oct 4, 2020
4ac0e44
return the value of eval, credits: TwitFace
SpEcHiDe Oct 3, 2020
3e9c18e
revert, do not break __older__ eval plugins
SpEcHiDe Oct 4, 2020
d8b852e
count number of files in a chat,
SpEcHiDe Oct 9, 2020
b527947
add @CheckRestrictionsBot in @UniBorg
SpEcHiDe Oct 13, 2020
d7bb016
delete cbutton command, -_-
SpEcHiDe Oct 13, 2020
e72f582
fix WhoIS
SpEcHiDe Oct 14, 2020
28fed5c
fix one unused command
SpEcHiDe Oct 15, 2020
24f53b9
add ~~better~~ @DMCATelegramBot 😒😆😆
SpEcHiDe Oct 19, 2020
35f7a6b
smol fix
SpEcHiDe Oct 25, 2020
c99e9a4
yet another fix
SpEcHiDe Oct 25, 2020
7af869f
add moar reegex bots
SpEcHiDe Oct 25, 2020
26a6a48
change from id to sender id. Ref: https://t.me/c/1203786122/1081
SpEcHiDe Oct 25, 2020
7407e1f
add football and slot machine 🥳😖😖☹️
SpEcHiDe Oct 28, 2020
905e6e1
update Telethon
SpEcHiDe Oct 31, 2020
127a823
add new emojie
SpEcHiDe Nov 25, 2020
a612091
add watmg command
SpEcHiDe Nov 26, 2020
4ba8b5f
fix watmg dispaly
SpEcHiDe Nov 26, 2020
685972a
ignore bots in admin caller: https://t.me/c/1067163791/286717
SpEcHiDe Dec 1, 2020
2c27f4d
add some more piracy sites for searching 'somethings's.
SpEcHiDe Dec 2, 2020
f19f49d
For SUDO_USERS (#109)
AVATARX0TIC Dec 2, 2020
5d457be
fix, for Google Translate 🙏☹️
SpEcHiDe Dec 8, 2020
a572a84
fix broken meaning
SpEcHiDe Dec 12, 2020
be36103
fix uploadasstream conditions
SpEcHiDe Dec 16, 2020
6adc242
fix invite for sunda003, beware of @SpamBot while using this plugin
SpEcHiDe Dec 22, 2020
0d73dd8
fix ew Telegram :\
SpEcHiDe Dec 22, 2020
5ff21da
kang secure_test from UserGe
SpEcHiDe Dec 22, 2020
40a81c3
tnritw
SpEcHiDe Dec 28, 2020
bb01373
revert.
SpEcHiDe Jan 4, 2021
5c3e9cd
derps.
SpEcHiDe Jan 4, 2021
9dde0ae
fix upload command
SpEcHiDe Jan 4, 2021
6e727f9
sritw
SpEcHiDe Jan 9, 2021
4d8347c
kang secure_text again :\
SpEcHiDe Jan 9, 2021
0e2cbd5
fix some mistakEs
SpEcHiDe Jan 10, 2021
e5e409a
update to Python 3.9
SpEcHiDe Jan 10, 2021
abbc583
update README
SpEcHiDe Jan 16, 2021
c667dc7
fix encoded_image values (#113)
Sunda001 Jan 20, 2021
a17bd80
google: force upload images as documents
SpEcHiDe Jan 20, 2021
70e2ecd
failed experiments
SpEcHiDe Jan 20, 2021
4061183
partially, fix Google Search
SpEcHiDe Jan 20, 2021
5e265a0
try 🤔
SpEcHiDe Jan 22, 2021
40ebd4f
trying 🤔
SpEcHiDe Jan 24, 2021
113174b
fix /eval and /exec :((
SpEcHiDe Jan 24, 2021
3235e3a
add multi account support
SpEcHiDe Jan 25, 2021
85f4e54
yet another (new) useless plugin
SpEcHiDe Feb 9, 2021
81fe545
fix upload command
SpEcHiDe Feb 10, 2021
7ca3151
fix uploadasstream derps
SpEcHiDe Feb 11, 2021
eea39bf
minor re-structuring
SpEcHiDe Mar 5, 2021
c01cbcd
fixes, hpfpocwbaner
SpEcHiDe Mar 29, 2021
c4ad467
updated example code, no docs, because 'CAADAgADLAoAAowucAABIyQXLPoYr…
SpEcHiDe Apr 2, 2021
f83277a
fix IndexError
SpEcHiDe May 15, 2021
171b82a
update .gitignore
SpEcHiDe May 15, 2021
8925c70
add torrends.to scrapper
SpEcHiDe May 15, 2021
7f91128
Fix Audio File Types: https://t.me/TelethonChat/344468
SpEcHiDe Jun 13, 2021
274bdd4
fix requirements
SpEcHiDe Jun 17, 2021
8e86514
fix
SpEcHiDe Jun 27, 2021
45dda64
add imdb plugin
SpEcHiDe Jun 27, 2021
1775a49
IMDb: fix Telegram borken images
SpEcHiDe Jun 27, 2021
3ac774e
pastebin: remove del.dog
SpEcHiDe Jul 11, 2021
9b17895
hpfpocwbaner ==> https://t.me/c/1109500936/363196 <== https://t.me/c/…
SpEcHiDe Aug 9, 2021
7a2d812
try, imporve evaal!
SpEcHiDe Aug 14, 2021
5eecc98
fix derp
SpEcHiDe Aug 14, 2021
45af744
fix dErp
SpEcHiDe Aug 17, 2021
2fefa66
fix typo
SpEcHiDe Aug 25, 2021
adb3bd3
fix for #935865
SpEcHiDe Aug 25, 2021
02f4b5e
add get_media_group function, copied from Pyrogram
SpEcHiDe Sep 5, 2021
348e9c6
add multiple downloading for NFC
SpEcHiDe Sep 5, 2021
f571d43
testing
SpEcHiDe Sep 8, 2021
837603e
test failed successfully
SpEcHiDe Sep 8, 2021
f70f85a
add song search plugin
SpEcHiDe Sep 29, 2021
7819368
fix this annoying thing :(\
SpEcHiDe Oct 12, 2021
966b355
🙄🔥 add an 🤣🤣 unique plugin 🔥🚒🚒
SpEcHiDe Oct 12, 2021
ebb6ab6
add two more use less plugins
SpEcHiDe Oct 22, 2021
c5752af
remove stt
SpEcHiDe Nov 7, 2021
7351224
remove deezer
SpEcHiDe Nov 7, 2021
f945412
update README t, ftm, https://t.me/TrollVoiceBot?start=4576 op,
SpEcHiDe Nov 28, 2021
14885d3
add multi client (NO LIMITS)
SpEcHiDe Nov 28, 2021
bc9fe18
fix multi bot support
SpEcHiDe Nov 28, 2021
7448fac
fix oen smail drep
SpEcHiDe Dec 2, 2021
dd90626
imporve purge V3
SpEcHiDe Dec 11, 2021
e169d31
add function to get message link, without making API request
SpEcHiDe Dec 28, 2021
52b5ebf
fix function definition
SpEcHiDe Dec 28, 2021
9c51308
add function to get chat id and message id from message link, without…
SpEcHiDe Dec 28, 2021
3c26702
add plugin to download media from link
SpEcHiDe Dec 28, 2021
bb3e9e8
Update requirements.txt
samadii Dec 29, 2021
0e21ac3
Added webpage2telegraph function
samadii Dec 29, 2021
1bd4326
Add auto-spoiler parsing
SpEcHiDe Dec 30, 2021
f694030
Fix requirements
SpEcHiDe Dec 30, 2021
ccbfb20
fix requirements (again)
SpEcHiDe Dec 30, 2021
38812ac
Fix for GetStickerSet API
SpEcHiDe Jan 23, 2022
d9567f8
lol 🤣😆
SpEcHiDe Jan 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,25 @@ __pycache__

*.session
*.session-journal
*.DB
*.DB-journal

data/
config.py
config.env
sessions/

*.jpg
*.mp4
*.pyc
*.txt

Manjari*

stdplugins/auto_destruct_read_messages.py
stdplugins/cheat_tg.py
stdplugins/deleted_messages_watcher.py
stdplugins/quotlybot.py
stdplugins/tb_button.py
stdplugins/auto_pp*.py
stdplugins/ban_channels*.py
stdplugins/annoy_mention_796.py
78 changes: 78 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# creates a layer from the base Docker image.
FROM python:3.9-slim-buster

WORKDIR /app

# https://shouldiblamecaching.com/
ENV PIP_NO_CACHE_DIR 1

# fix "ephimeral" / "AWS" file-systems
RUN sed -i.bak 's/us-west-2\.ec2\.//' /etc/apt/sources.list

# to resynchronize the package index files from their sources.
RUN apt -qq update

# base required pre-requisites before proceeding ...
RUN apt -qq install -y --no-install-recommends \
curl \
git \
gnupg2 \
unzip \
wget

# to resynchronize the package index files from their sources.
RUN apt -qq update

# http://bugs.python.org/issue19846
# https://github.com/SpEcHiDe/PublicLeech/pull/97
ENV LANG C.UTF-8

# we don't have an interactive xTerm
ENV DEBIAN_FRONTEND noninteractive

# install google chrome
RUN mkdir -p /tmp/ && \
cd /tmp/ && \
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
# -f ==> is required to --fix-missing-dependancies
dpkg -i ./google-chrome-stable_current_amd64.deb; apt -fqqy install && \
# clean up the container "layer", after we are done
rm ./google-chrome-stable_current_amd64.deb

# install chromedriver
RUN mkdir -p /tmp/ && \
cd /tmp/ && \
wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/$(curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE)/chromedriver_linux64.zip && \
unzip /tmp/chromedriver.zip chromedriver -d /usr/bin/ && \
# clean up the container "layer", after we are done
rm /tmp/chromedriver.zip

# install required packages
RUN apt -qq install -y --no-install-recommends \
# this package is required to fetch "contents" via "TLS"
apt-transport-https \
# install coreutils
build-essential coreutils jq pv \
# install gcc [ PEP 517 ]
gcc \
# install encoding tools
ffmpeg mediainfo \
unzip zip \
# miscellaneous helpers
megatools && \
# clean up the container "layer", after we are done
rm -rf /var/lib/apt/lists /var/cache/apt/archives /tmp

# each instruction creates one layer
# Only the instructions RUN, COPY, ADD create layers.
# copies 'requirements', to inside the container
# ..., there are multiple '' dependancies,
# requiring the use of the entire repo, hence
# adds files from your Docker client’s current directory.
COPY . .

# install requirements, inside the container
RUN pip3 install --no-cache-dir -r requirements.txt

# specifies what command to run within the container.
CMD ["python3", "-m", "kopp"]
18 changes: 0 additions & 18 deletions GenerateStringSession.py

This file was deleted.

2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
worker: python3 -m stdborg
worker: python3 -m kopp
114 changes: 57 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,57 +4,58 @@ Pluggable [``asyncio``](https://docs.python.org/3/library/asyncio.html)
[Telegram](https://telegram.org) userbot based on
[Telethon](https://github.com/LonamiWebs/Telethon).


This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Mozilla Public License for more details.


## disclaimer

⚠️ This fork uses "requests" module in various places, instead of the async alternative. ⚠️

- This was an attempt to learn userbot development using Telethon, __this project is now no longer usable__, and is FORKed and MODIFied to suit MY needs, so **use at your own risk**.


## installing

#### The Easy Way
#### The Easiest Way

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
- Install Docker by following the [official docker docs](https://docs.docker.com/engine/install/debian/)

- Start docker daemon [skip if already running]:
```sh
dockerd
```
- Build Docker image:
```sh
docker build . -t uniborg
```
- Run the image:
```sh
docker run uniborg
```

It is not recommended to use "sudo", while using Docker.
GNU/Linux Permissions are highly customisable, and it is generally not required to have "ROOT" permission, ~~unless you know what you are doing~~.
You can still install all the dependencies in your system [with ROOT permissions],
but please be aware of the potential issues when doing so. The installed packages
may conflict with the system package manager's installed packages, which can
cause trouble down the road and errors when upgrading conflicting packages.
**You have been warned.**

#### The Legacy Way
Simply clone the repository and run the main file:
```sh
git clone https://github.com/udf/uniborg.git
cd uniborg
virtualenv -p /usr/bin/python3 venv
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
# <Create config.py with variables as given below>
python3 -m stdborg YourSessionName
```

An example `config.py` file could be:

**Not All of the variables are mandatory**

__The UniBorg should work by setting only these variables__

```python3
from sample_config import Config

class Development(Config):
APP_ID = 6
API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"
TG_BOT_TOKEN_BF_HER = ""
TG_BOT_USER_NAME_BF_HER = ""
UB_BLACK_LIST_CHAT = [
-1001220993104,
-1001365798550,
-1001158304289,
-1001212593743,
-1001195845680,
-1001330468518,
-1001221185967,
-1001340243678,
-1001311056733,
-1001135438308,
-1001038774929,
-1001070622614,
-1001119331451,
-1001095401841
]
# specify LOAD and NO_LOAD
LOAD = []
NO_LOAD = []
cp sample_config.env config.env
# <edit config.env with appropriate values>
python3 -m kopp
```

## internals
Expand All @@ -63,15 +64,15 @@ The core features offered by the custom `TelegramClient` live under the
[`uniborg/`](https://github.com/SpEcHiDe/uniborg/tree/master/uniborg)
directory, with some utilities, enhancements, the `_core` plugin, and the `_inline_bot` plugin.


## [@SpEcHlDe](https://telegram.dog/ThankTelegram)

- Only two of the environment variables are mandatory.
- This is because of `telethon.errors.rpc_error_list.ApiIdPublishedFloodError`
- `APP_ID`: You can get this value from https://my.telegram.org
- `API_HASH`: You can get this value from https://my.telegram.org
- The userbot will work without setting the non-mandatory environment variables.
- Please report any issues to the support group: [@SpEcHlDe](https://t.me/joinchat/AHAujEjG4FBO-TH-NrVVbg)
- Only five of the environment variables are mandatory.
- Please read the [WiKi](https://github.com/SpEcHiDe/UniBorg/wiki) to understand the use of the variables.
- This is because of `telethon.errors.ApiIdPublishedFloodError`
- `APP_ID`:
- `API_HASH`:
- `TG_BOT_TOKEN_BF_HER`:
- `TG_BOT_USER_NAME_BF_HER`:
- `DATABASE_URL`:
- The userbot should work without setting the non-mandatory environment variables.


## design
Expand All @@ -80,25 +81,25 @@ The modular design of the project enhances your Telegram experience
through [plugins](https://github.com/SpEcHiDe/uniborg/tree/master/stdplugins)
which you can enable or disable on demand.

Each plugin gets the `borg`, `logger`, `Config`, `tgbot` magical
Each plugin gets the `borg`, `logger`, `Config` magical
[variables](https://github.com/spechide/UniBorg/blob/488eff632e65103ba7017d4f52777d22ddd52ea2/uniborg/uniborg.py#L76-L80)
to ease their use. Thus creating a plugin as easy as adding
a new file under the plugin directory to do the job:

```python
# stdplugins/myplugin.py
from telethon import events
from uniborg.util import admin_cmd

@borg.on(admin_cmd(pattern="hi"))
@borg.on(slitu.admin_cmd(pattern="hi"))
async def handler(event):
await event.reply("hey")
await event.client.send_message(
event.chat_id,
"hey"
)
```


## learning

Check out the already-mentioned [plugins](https://github.com/SpEcHiDe/UniBorg/tree/master/stdplugins) directory, or some third-party [plugins](https://telegram.dog/UniBorg) to learn how to write your own, and consider reading [Telethon's documentation](http://telethon.readthedocs.io/).
Check out the already-mentioned [plugins](https://github.com/SpEcHiDe/UniBorg/tree/master/stdplugins) directory, or some third-party [plugins](https://telegram.dog/UniBorg) to learn how to write your own, and consider reading [Telethon's documentation](http://docs.telethon.dev/).


## credits
Expand All @@ -107,4 +108,3 @@ Check out the already-mentioned [plugins](https://github.com/SpEcHiDe/UniBorg/tr
Thanks to:
- [lonami](https://lonami.dev) for creating [Telethon](https://github.com/lonamiwebs/Telethon)
- [![CopyLeft](https://telegra.ph/file/b514ed14d994557a724cb.jpg)](https://telegra.ph/file/fab1017e21c42a5c1e613.mp4 "CopyLeft Credit Video")

Loading