├── runtime.txt ├── Procfile ├── .gitlab-ci.yml ├── .gitignore ├── requirements.txt ├── Eval.py ├── uniborg ├── __init__.py ├── hacks.py ├── storage.py ├── _core.py └── util.py ├── stdplugins ├── test.py ├── repeat.py ├── oof.py ├── ping.py ├── ttf.py ├── moon.py ├── Earth.py ├── clock.py ├── sca.py ├── decide.py ├── tagall.py ├── leaveme.py ├── fk_leave.py ├── gaand.py ├── mention.py ├── whatscrapp.py ├── ifsc.py ├── call_admin.py ├── howtogoogle.py ├── wikipedia.py ├── alive.py ├── hacker.py ├── schd.py ├── typewriter.py ├── get_id.py ├── plane.py ├── shout.py ├── pin_message.py ├── spam.py ├── gangsta.py ├── fileext.py ├── fk.py ├── ok.py ├── fwd.py ├── eval.py ├── urbandictionary.py ├── json.py ├── purge.py ├── coinflip.py ├── xtools.py ├── count.py ├── colors.py ├── gban.py ├── get_bot.py ├── github.py ├── calendar.py ├── file2image.py ├── translate.py ├── power_tools.py ├── currency.py ├── polls.py ├── eye.py ├── headpat.py ├── log_pms.py ├── wikimedia.py ├── hack.py ├── dictionary.py ├── README.md ├── invite.py ├── fullgaali.py ├── xd.py ├── screencapture.py ├── think.py ├── dagd.py ├── ninja.py ├── exec.py ├── xkcd.py ├── _help.py ├── emojis.py ├── weather.py ├── promote.py ├── call.py ├── pastebin.py ├── auto_profile.py ├── create_pg.py ├── time.py ├── get_admin.py ├── unbanmute.py ├── fuck.py ├── welcome.py ├── tts.py ├── account.py ├── speedtest.py ├── stt.py ├── carbon.py ├── blacklist.py ├── react.py ├── gitupload.py ├── qr_code.py ├── sed.py ├── imdb.py ├── pro_nub.py ├── telegraph.py ├── antiflood.py ├── snip.py ├── remove.bg.py ├── slap.py ├── thumbnail.py ├── download.py ├── ocr.py ├── pmpermit.py └── markdown.py ├── requirements-stdborg.txt ├── sql_helpers ├── __init__.py ├── pmpermit_sql.py ├── snips_sql.py ├── welcome_sql.py ├── locks_sql.py ├── filters_sql.py └── blacklist_sql.py ├── String_Session.py ├── telesetup.py ├── README.md └── stdborg.py /runtime.txt: -------------------------------------------------------------------------------- 1 | python-3.7.2 2 | -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | worker: python3 -m stdborg 2 | -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | CheckUserBotWorking: 2 | script: 3 | - echo "Nothing" 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | venv 2 | __pycache__ 3 | 4 | *.session 5 | *.session-journal 6 | data/ 7 | config.py 8 | sessions/ 9 | 10 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | telethon>=1.9.0 2 | lxml 3 | selenium 4 | ChatterBot 5 | spcli 6 | instaloader 7 | -r ./requirements-stdborg.txt 8 | -------------------------------------------------------------------------------- /Eval.py: -------------------------------------------------------------------------------- 1 | .eval NO_OF_SCSS = 5 2 | for I in range(NO_OF_SCSS): 3 | await event.client(functions.messages.SendScreenshotNotificationRequest(peer=event.chat_id, reply_to_msg_id=42)) 4 | await event.delete() 5 | -------------------------------------------------------------------------------- /uniborg/__init__.py: -------------------------------------------------------------------------------- 1 | # This Source Code Form is subject to the terms of the Mozilla Public 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this 3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 | 5 | from .uniborg import * 6 | -------------------------------------------------------------------------------- /stdplugins/test.py: -------------------------------------------------------------------------------- 1 | from telethon import events 2 | import asyncio 3 | import os 4 | import sys 5 | 6 | @borg.on(events.NewMessage(pattern=r"\.test", outgoing=True)) 7 | async def test(event): 8 | if event.fwd_from: 9 | return 10 | await event.edit("Test Successfull") 11 | -------------------------------------------------------------------------------- /uniborg/hacks.py: -------------------------------------------------------------------------------- 1 | # This Source Code Form is subject to the terms of the Mozilla Public 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this 3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 | 5 | 6 | class ReverseList(list): 7 | def __iter__(self): 8 | return reversed(self) 9 | -------------------------------------------------------------------------------- /stdplugins/repeat.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | from uniborg.util import admin_cmd 3 | 4 | 5 | @borg.on(admin_cmd("repeat ?(.*)")) 6 | async def _(event): 7 | message = event.text[10:] 8 | count = int(event.text[8:10]) 9 | repmessage = message * count 10 | await event.respond(repmessage) 11 | await event.delete() 12 | -------------------------------------------------------------------------------- /stdplugins/oof.py: -------------------------------------------------------------------------------- 1 | from telethon import events 2 | import random, re 3 | from uniborg.util import admin_cmd 4 | import asyncio 5 | 6 | 7 | 8 | @borg.on(admin_cmd("oof ?(.*)")) 9 | async def _(event): 10 | if event.fwd_from: 11 | return 12 | ooof = "Oof" 13 | for j in range(15): 14 | ooof = ooof[:-1] + "of" 15 | await event.edit(ooof) -------------------------------------------------------------------------------- /stdplugins/ping.py: -------------------------------------------------------------------------------- 1 | from telethon import events 2 | from datetime import datetime 3 | from uniborg.util import admin_cmd 4 | 5 | 6 | @borg.on(admin_cmd("ping")) 7 | async def _(event): 8 | if event.fwd_from: 9 | return 10 | start = datetime.now() 11 | await event.edit("Checking Ping....") 12 | end = datetime.now() 13 | ms = (end - start).microseconds/1000 14 | await event.edit("Ping is High AF 😭\n{}".format(ms)) 15 | -------------------------------------------------------------------------------- /stdplugins/ttf.py: -------------------------------------------------------------------------------- 1 | from telethon import events 2 | import asyncio 3 | from uniborg.util import admin_cmd 4 | 5 | 6 | @borg.on(admin_cmd("ttf ?(.*)")) 7 | async def get(event): 8 | name = event.text[5:] 9 | m = await event.get_reply_message() 10 | with open(name, "w") as f: 11 | f.write(m.message) 12 | await event.delete() 13 | await borg.send_file(event.chat_id,name,force_document=True) 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /stdplugins/moon.py: -------------------------------------------------------------------------------- 1 | """Moon Emoji Animation 2 | Command .moon 3 | """ 4 | 5 | # (c) @UniBorg 6 | 7 | from telethon import events 8 | import asyncio 9 | from collections import deque 10 | 11 | 12 | @borg.on(events.NewMessage(pattern=r"\.moon", outgoing=True)) 13 | async def _(event): 14 | if event.fwd_from: 15 | return 16 | deq = deque(list("🌗🌘🌑🌒🌓🌔🌕🌖")) 17 | for _ in range(32): 18 | await asyncio.sleep(0.1) 19 | await event.edit("".join(deq)) 20 | deq.rotate(1) 21 | 22 | -------------------------------------------------------------------------------- /stdplugins/Earth.py: -------------------------------------------------------------------------------- 1 | # (c) @UniBorg 2 | # Original written by @UniBorg edit by @I_m_Rock 3 | 4 | from telethon import events 5 | import asyncio 6 | from collections import deque 7 | 8 | 9 | @borg.on(events.NewMessage(pattern=r"\.earth", outgoing=True)) 10 | async def _(event): 11 | if event.fwd_from: 12 | return 13 | deq = deque(list("🌏🌍🌎🌎🌍🌏🌍🌎")) 14 | for _ in range(48): 15 | await asyncio.sleep(0.1) 16 | await event.edit("".join(deq)) 17 | deq.rotate(1) 18 | 19 | -------------------------------------------------------------------------------- /requirements-stdborg.txt: -------------------------------------------------------------------------------- 1 | aiofiles 2 | aiohttp 3 | beautifulsoup4 4 | cfscrape 5 | cryptg 6 | emoji 7 | googletrans 8 | google_images_download 9 | google-api-python-client 10 | google_auth_oauthlib 11 | gsearch>=1.6.0 12 | gtts 13 | hachoir 14 | Pillow 15 | psycopg2 16 | python-magic 17 | regex 18 | requests 19 | PyGithub 20 | speedtest-cli 21 | sqlalchemy 22 | telegraph 23 | urbandict 24 | wikipedia 25 | youtube-dl 26 | git+https://github.com/ahupp/python-magic 27 | google-api-python-client 28 | oauth2client 29 | httplib2 30 | -------------------------------------------------------------------------------- /stdplugins/clock.py: -------------------------------------------------------------------------------- 1 | """Clock Animation 2 | Command .clock""" 3 | # (c) @UniBorg 4 | # Original written by @UniBorg edit by @INF1N17Y 5 | 6 | from telethon import events 7 | import asyncio 8 | from collections import deque 9 | 10 | 11 | @borg.on(events.NewMessage(pattern=r"\.clock", outgoing=True)) 12 | async def _(event): 13 | if event.fwd_from: 14 | return 15 | deq = deque(list("🕙🕘🕗🕖🕕🕔🕓🕒🕑🕐🕛")) 16 | for _ in range(48): 17 | await asyncio.sleep(0.1) 18 | await event.edit("".join(deq)) 19 | deq.rotate(1) 20 | 21 | -------------------------------------------------------------------------------- /stdplugins/sca.py: -------------------------------------------------------------------------------- 1 | """Send Chat Actions 2 | Syntax: .sca