Skip to content

A userbot written using telethon in python

License

Notifications You must be signed in to change notification settings

MikeyKun123/idk-yet

 
 

Repository files navigation

Codacy Badge License: AGPL v3 Repo Size Stars Maintained

Sibyl System

A proactive judgement system for group chats.

Sibyl System forthebadge made-with-python

A Telethon Userbot to make handling spam easer

Do note that this repository does not come with support and assist, if you choose to deploy this anywhere and face issues - DO NOT COME TO US, if you are not sure how to deploy bots such as these then do not deploy them at all.

Config

Here stuff you need to put in config.py or Environment variables:

  • API_ID_KEY Get from my.telegram.org/apps
  • API_HASH_KEY Get from my.telegram.org/apps
  • STRING_SESSION: You can get this by doing python3 generatestringsession.py on Linux and Mac, If on windows just python will work
  • SIBYL: Users who approve gbans, manage blacklist etc
  • ENFORCERS: Users who send gban request
  • Sibyl_logs: In this group all scan requests will land (Super group)
  • Sibyl_approved_logs: When approved it sends a message there (channel)
  • GBAN_MSG_LOGS: Where to gban user, Set to None and it will send /gban in Sibyl_logs (Super group)
  • Start bot using python3 -m Sibyl_System on linux or py -m Sibyl_System for windows

Purpose and schematics

Based on the popular anime series "Psycho Pass", Sibylx is designed to work in a judgement and scan system where groups can request Cymatic scans for spammers, this then connects to the Sibyl network and sends the data to Sibyl for judgement, upon the approval of which the user is judged by the dominator. Base idea of Sibyl

To create and manage all Dominators and scanner systems in-country and to monitor the behavior of MWPSB personnel


Location

Sibyl can be seen around telegram judging people and chats and logging the information at @SibylSystem The base of operations of Sibyl are Beneath the NONA Tower and are only accessible by select personnel.


Commands list

You can check help using - ?help main - prints out basic help in the group, inspectors or higher only *help <plugin_name> *- Get help about plugin, Send it without plugin name to get list of all plugins


Development and planning

Sibyl is under active development and some future plans include

  • Gif responses
  • Better and detailed scanning
  • Improved logging, access and replies strings
  • Anything else we come up with as this project goes on.

Trivia
  • The use of the Sibyl System to determine latent criminals with the help of Crime Coefficients is introduced at some point between 2090 and 2100.

  • The first version of the Sibyl System was introduced between 2030 and 2049. At this point it is solely a supercomputer which was able to make precise and extensive cymatic scans, so the Employment Aptitude Exam of the Ministry of Health, Labor and Welfare would become more efficient and valid. Along with the cymatic scans, the Psycho-Pass measurement is introduced.

  • A replacement for the Sibyl System was proposed by the Ministry of Economy called the Panopticon, monitoring the economic and traffic activities of its citizens. As Jeremy Bentham designed Panopticon to be a prison to monitor criminals without them knowing that they're in fact being monitored, inmates would always behave as if being monitored. Its employment as a trial system to monitor traffic was both met with controversy and failure, thus Sibyl System remained.

  • Based upon visual inspection, it appears that the physical structure of the Sibyl System contains 2,601 slots in total, despite having only 247 members.

  • The Sibyl System's Crime Coefficient is revealed to be over 300, even though it consists of only criminally asymptomatic brains. The brains contributing to this Coefficient are destroyed, lowering the number to zero.

  • In case of emergency and/or if the System thinks that it is in danger, it can falsify the judgement of the Dominator, in order to suppress the threat.

Warning

Since Warning Always come after the spell

  • Using this userbot can get your account floodwaited as it checks for each message, each edited, each join for blacklisted strings, If you don't want auto gbans simply delete blacklist.py and remove it from to_load in __init_.py
Why that?

Why use regex for so proof and approve?

  • How else would I get reason, message etc? ( I know about split but that'd make the code hard for me to read)

Why such noob code?

  • Cuz I'm a noob.

Why not getting list of all module instead of manually putting module in to_load?

  • I don't want people from uniborg or ftg or other userbots to put their plugins (those weird animation ones or useless ones) in Sibyl System

Credits

  • Simon for the ID image!

About

A userbot written using telethon in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.9%
  • Batchfile 3.1%