Heroes Association • Saitama Updates
1.17K subscribers
34 photos
2 videos
3 files
38 links
The updates channel for @SaitamaRobot

Visit @OnePunchSupport for help

Powered by @Kaizoku
Download Telegram
📈 What is that health bar that Saitama displays on /info
That is a new weeb tech called "HP system", aka Health points system.

Explaining what the panel is
Health: avail_hp/max_hp
[health bar] percentage

What does this even do
It's an interactive way of showing how complete your profile is.
Users with no PFP, no username, no bio on Saitama or no what others say will have less health as their profile is considered as "incomplete".

How we determine Max HP
((Number of chats seen in +10 )*10)
Basically the more groups Saitama sees you in, the higher your max hp is.
You don't need to stay in the group, you can just join, send a message and leave and max hp will slightly increase.

Penalties from available HP:
-25% if no username
-25% if no profile pic
-20% if no setme exists
-10% if no what others say exists
-7% if user is AFK
-5% if the user is AFK with reason

Bad status effects:
Gbanned users will always have 5% HP from max HP
Example: If HP is 100 but gbanned
Available HP is 5% of 100 = 5HP

Why was this added
To make the info panel more fun but mainly to urge our users to have a properly written profile, good profiles help you connect to users around you (plus looking like some spammer ID isnt a good experience, is it?)
👍4😱2
Too many people come to @OnePunchSupport asking how to add welcome.
So here is our welcome sample.
Copy paste message link here
We may set a max filters limit per group.

So, how many filters do you use in your group?
Final Results
28%
None
8%
10
3%
20
4%
40
2%
50
0%
70
2%
100
53%
To infinity and beyond
Dragon pulled stats from Saitama's database.
100+ filters = 12 groups
50+ filters = 136 groups
10+ filters = 7453 groups

And on line 6 yall see a group with a whooping count of 765 filters alone.

Next update we WILL introduce max filters limit, those who want to setup crazy amount of filters should just deploy a trigger bot or their own Saitama instance.
👍1
Someone added a negative definition of Saitama to UD.
Nice work dude, you proved to the world lmao.

Could you make us a website next? Onegai?
Now someone added this one.
UD wars!
🔄 Updating edd1143..1acd0e6
{workflows => disabled}/docker_disabled.yml|   0
{workflows => disabled}/main.yml | 0
README.md | 10 +-
/__init__.py | 30 +++--
/__main__.py | 27 ++++-
/admin.py | 95 +++++++++------
/afk.py | 6 +-
/anime.py | 4 +-
/antiflood.py | 15 ++-
/bans.py | 42 +++----
/blacklist.py | 16 +--
/blacklist_stickers.py | 17 +--
/blacklistusers.py | 27 ++---
/chatbot.py | 16 ++-
/cleaner.py | 2 +-
/connection.py | 12 +-
/cust_filters.py | 111 +++++++++++++-----
/debug.py | 20 ++++
/disasters.py | 130 +++++++++++----------
/feds.py | 62 +++++-----
/global_bans.py | 48 ++++----
/helper_funcs/chat_status.py | 30 +++--
/helper_funcs/extraction.py | 12 +-
/helper_funcs/filters.py | 8 +-
/helper_funcs/handlers.py | 9 +-
/helper_funcs/telethn/__init__.py | 9 +-
/helper_funcs/telethn/chatstatus.py | 11 +-
/locks.py | 4 +-
/log.py | 25 ----
/muting.py | 6 +-
/notes.py | 66 ++++++++++-
/reporting.py | 7 +-
/sql/welcome_sql.py | 40 +++----
/stickers.py | 14 ++-
/userinfo.py | 47 +++++---
/users.py | 6 +-
/warns.py | 6 +-
/welcome.py | 27 ++---
/sample_config.py | 8 +-
app.json | 18 ++-
requirements.txt | 2 +-
41 files changed, 611 insertions(+), 434 deletions(-)
+
Updating 1acd0e6..d3c9226
/stickers.py | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)

Restarting SaitamaRobot with new changes .....
New features:
● Added /clearallnotes and improved /clearallfilters
● Improved /admins /adminslist command

Important changes:
● Changes to Config vars
╭────────────────────────╮
│SUDO_USERS -˃DRAGONS│
│SUPPORT_USERS -˃DEMONS │
│TIGER_USERS -˃TIGERS │
│WHITELIST_USERS-˃WOLVES │
╰────────────────────────╯
If you are pulling this update for your bot then make sure you update your config vars accordingly.
● AFK wont work if you are anon
● gbans, fbans wont work for anon mode

Bug fixes and stuff:
• No webpage preview for /bio /me
• Added deeplink for /help modulename
• Minor improvements to heroku deploys
• Reduced messages on fbans
• fbans dont affect health
• Added help for health in user info
• Welcome help section improved
• Fixed bad permission for wolves
• Anon and telegram can use ban
• Linked channel wont trigger filters
• /logs command now uses Support_chat var
• /logs function moved to debug.py
• Minor updates to help and stuff
• Fixed bugs that we added due to bad coding
• Fixed spamwatch errors due to wrong var
• Added more bugs to fix later

Pull request #260
Pull request #263
👍1
How about a competition for which group has best welcome message?

Winner gets their group listed on Saitama's bio until the end of 2020. We vote to see which group has the best welcome message on Saitama and OnePunchSupport will provide necessary help.
Final Results
67%
Yes, let's have a competition
10%
No
23%
I could care less
Okay, will think of a way of doing the competition and post an update.
🤖 Beep Boop, Boop Beep!

Important stuff

• Command handler changes
Some commands have been changed so make sure you know those
/settitle is now /title
/adminslist
has been removed, just use /admins

For bot devs
/chatlist is renamed to /groups, see disasters help for more

• Major overhaul to /admins command
/admins now lists your titles and groups same title holders together
Also lists bots and admins with no titles

Admins list does not tag the admins anymore, feel free to use without disturbance.
This was added a while back but missed out writing about it.

Bug fixes
• Fixed bad formatting of translator help
• Fixed /del and /purge not working for anon admins
• Added more bugs to fix later

Pull request #267
🤖 Beep Boop, Boop Beep!
• Sed/regex modules are now permanently unloaded
We are facing some downtime on Saitama.
Looking into this rn
Edit: Identified a process over abusing ram - killed process.
Restarting server to freshen things up

Edit: Seems to be up now.
Those who downvoted - yall gay so do what you want.
Looks like Saitama would be slow today, the same server is a little too busy doing other more critical tasks.
Edit: This is outdated now.
Faced minor downtime as the postgres service crashed, its back up and Saitama has been kickstarted.
In case Saitama becomes non responsive, do reach out to us on support.
Current stats:
---------
OS: Windows Server 2019 Datacenter x86_64
Host: MSI MS-7823
Kernel: 10.0.17763
Uptime: 8 hours, 41 mins
Packages: 4 (scoop)
Shell: bash 4.4.23
CPU: Intel Xeon E3-1246 v3 (8) @ 3.500GHz
Memory: 12856MiB / 32630MiB

3453 blacklist triggers, across 487 chats.
401 blacklist stickers, across 83 chats.
15055 filters, across 1545 chats.
1560 disabled items, across 407 chats.
21260 banned users across 231 Federations
443 gbanned users.
107 log channels set.
7077 notes, across 1142 chats.
708 chats have rules set.
802437 users, across 9871 chats
10008 overall warns, across 1086 chats.
341 warn filters, across 108 chats.

We reached 10k+ groups 🎉
Thanks for the Spam uwu
👍1
Saitama is rather slow today, will see in the morning - busy with life.
🕷With great power comes great responsibility.

With a large number of chats and a very unoptimized bot comes delays and slowdowns.
Haruka Aya, Emilia bot are twice the size of Saitama and are facing very unstable times.

I am thinking of disabling groups from Saitama.
This would mean that new groups cannot add Saitama and existing groups would continue to function.
Its just a thought, the bot loses its point if its slow.

There are other ways too, ofc.
One would be to improve the bot to be more efficient, so if there is anyone reading this who knows they way around python, mongo, or postgres or If you have the time to help improve the code then do reach out to us at @OnePunchSupport

If you have more bigger idea in head and want them to be listened to then just reach out to me @Sawada.