├── runtime.txt ├── Procfile ├── .gitlab-ci.yml ├── .gitignore ├── requirements.txt ├── stdplugins ├── repo.py ├── ping.py ├── moon.animation.py ├── Earth.py ├── clock.animation.py ├── Fshape.py ├── listmyusernames.py ├── shoot.py ├── sca.py ├── decide.py ├── tagall.py ├── all.py ├── whatscrapp.py ├── call_admin.py ├── wikipedia.py ├── alive.py ├── schd.py ├── typewriter.py ├── get_id.py ├── plane.py ├── batch_upload.py ├── shout.py ├── spam.py ├── fileext.py ├── fwd.py ├── urbandictionary.py ├── json.py ├── emojis.py ├── fban.py ├── purge.py ├── coinflip.py ├── xtools.py ├── list.py ├── colors.py ├── gban.py ├── get_bot.py ├── githuser.py ├── translate.py ├── power_tools.py ├── currency.py ├── polls.py ├── wikimedia.py ├── dictionary.py ├── fadmin.py ├── README.md ├── invite.py ├── figlet.py ├── screencapture.py ├── pfp.py ├── ninja.py ├── exec.py ├── xkcd.py ├── cry.py ├── dagd.py ├── openweathermap.py ├── zip.py ├── autopic.py ├── dogbin.py ├── anime_download.py ├── create_private_group.py ├── get_admin.py ├── time.py ├── eval.py ├── webupload.py ├── meme.py ├── welcome.py ├── tts.py ├── account_profile.py ├── speedtest.py ├── channel_download.py ├── _help.py ├── torrent_search.py ├── gdrive_download.py ├── stt.py ├── carbon.py ├── blacklist.py ├── github_upload.py ├── auto_profile.py ├── qr_code.py ├── sed.py ├── telegraph.py ├── imdb.py ├── antiflood.py ├── snip.py └── remove.bg.py ├── uniborg ├── __init__.py ├── hacks.py ├── storage.py ├── _core.py └── util.py ├── english ├── health.yml ├── history.yml ├── trivia.yml ├── greetings.yml ├── food.yml ├── botprofile.yml ├── politics.yml ├── movies.yml ├── sports.yml ├── gossip.yml ├── money.yml ├── science.yml ├── computers.yml └── literature.yml ├── requirements-stdborg.txt ├── sql_helpers ├── __init__.py ├── no_log_pms_sql.py ├── gmute_sql.py ├── spam_mute_sql.py ├── pmpermit_sql.py ├── lydia_ai_sql.py ├── snips_sql.py ├── welcome_sql.py ├── locks_sql.py ├── filters_sql.py └── blacklist_sql.py ├── GenerateStringSession.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.10.8 2 | pip>=19.2.3 3 | hastebin.py 4 | async_generator 5 | pybase64 6 | zalgo_text 7 | pyfiglet 8 | lxml 9 | selenium 10 | aria2p 11 | chatterbot 12 | chatterbot_corpus 13 | -r ./requirements-stdborg.txt 14 | -------------------------------------------------------------------------------- /stdplugins/repo.py: -------------------------------------------------------------------------------- 1 | from telethon import events 2 | from uniborg.util import admin_cmd 3 | 4 | @borg.on(admin_cmd("repo")) 5 | async def handler(event): 6 | await event.edit("[Click here](https://github.com/Dc5000/MehUniBorg) to open this lit repo!") 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /english/health.yml: -------------------------------------------------------------------------------- 1 | categories: 2 | - health 3 | conversations: 4 | - - How is your health? 5 | - I'm not feeling well 6 | - why? 7 | - I have a fever 8 | - Did you take medicine? 9 | - Yes. 10 | - When? 11 | - In the morning 12 | - Get well soon dear 13 | -------------------------------------------------------------------------------- /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/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("Pong!") 12 | end = datetime.now() 13 | ms = (end - start).microseconds / 1000 14 | await event.edit("Pong!\n{}".format(ms)) 15 | -------------------------------------------------------------------------------- /stdplugins/moon.animation.py: -------------------------------------------------------------------------------- 1 | # (c) @UniBorg 2 | 3 | from telethon import events 4 | import asyncio 5 | from collections import deque 6 | 7 | 8 | @borg.on(events.NewMessage(pattern=r"\.moon animation", outgoing=True)) 9 | async def _(event): 10 | if event.fwd_from: 11 | return 12 | deq = deque(list("🌗🌘🌑🌒🌓🌔🌕🌖")) 13 | for _ in range(32): 14 | await asyncio.sleep(0.1) 15 | await event.edit("".join(deq)) 16 | deq.rotate(1) 17 | 18 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /stdplugins/clock.animation.py: -------------------------------------------------------------------------------- 1 | # (c) @UniBorg 2 | # Original written by @UniBorg edit by @INF1N17Y 3 | 4 | from telethon import events 5 | import asyncio 6 | from collections import deque 7 | 8 | 9 | @borg.on(events.NewMessage(pattern=r"\.clock animation", 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 | -------------------------------------------------------------------------------- /stdplugins/Fshape.py: -------------------------------------------------------------------------------- 1 | """.fshape Plugin for @UniBorg""" 2 | 3 | from telethon import events 4 | import asyncio 5 | import os 6 | import sys 7 | from uniborg import util 8 | 9 | 10 | @borg.on(util.admin_cmd(pattern="fshape ?(.*)")) 11 | async def payf(event): 12 | paytext=event.pattern_match.group(1) 13 | pay = "{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}".format(paytext*8, paytext*8, paytext*2, paytext*2, paytext*2, paytext*6, paytext*6, paytext*2, paytext*2, paytext*2, paytext*2, paytext*2) 14 | await event.edit(pay) 15 | -------------------------------------------------------------------------------- /stdplugins/listmyusernames.py: -------------------------------------------------------------------------------- 1 | # For @UniBorg 2 | # (c) Shrimadhav U K 3 | 4 | from telethon import events, functions, types 5 | from uniborg.util import admin_cmd 6 | 7 | @borg.on(admin_cmd("listmyusernames")) 8 | async def handler(event): 9 | if event.fwd_from: 10 | return 11 | result = await borg(functions.channels.GetAdminedPublicChannelsRequest()) 12 | output_str = "" 13 | for channel_obj in result.chats: 14 | output_str += f"- {channel_obj.title} @{channel_obj.username} \n" 15 | await event.edit(output_str) 16 | -------------------------------------------------------------------------------- /stdplugins/shoot.py: -------------------------------------------------------------------------------- 1 | import sys 2 | from telethon import events, functions, __version__ 3 | from uniborg.util import admin_cmd 4 | import asyncio 5 | 6 | 7 | @borg.on(admin_cmd(pattern="shoot$ ?(.*)", allow_sudo=True)) # pylint:disable=E0602 8 | async def killing (killed): 9 | """ Dont Kill Too much -_-""" 10 | if not killed.text[0].isalpha() and killed.text[0] not in ("/", "#", "@", "!"): 11 | if await killed.get_reply_message(): 12 | await killed.edit( 13 | "Targeted user killed by Headshot 😈......\n" 14 | "#Sad_Reacts_Onli\n" 15 | ) 16 | -------------------------------------------------------------------------------- /stdplugins/sca.py: -------------------------------------------------------------------------------- 1 | """Send Chat Actions 2 | Syntax: .sca