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

Visit @OnePunchSupport for help

Powered by @Kaizoku
Download Telegram
Reminder to all those who dont pay attention.
The new "anon mode" for admins makes you anonymous, so ofc no bot can tell if its you or some other admin.

In short, If you are anon then Saitama wont listen to your admin commands.
Please dont bug us for the same. That is how the tech actually works.
Testing new comments feature on this post.
New posts will not have like/dislike buttons from now own.
Let's talk about latest telegram update with respect to Saitama.

The new anonymous mode on telegram groups would allow admins to text while keeping themselves private.
However, this means that to Saitama you won't be a group owner, bot owner or an admin with custom permissions.

If an admin has no ban permissions then Saitama won't listen to their ban commands, however now if you are anon then Saitama cannot tell this bit

So he will use the permissions that the group anon bot is given.

Atm we have anon bot blacklisted so that if anon replies any command nothing would happen.

How do you think we should proceed on this?
Please feel free to leave your comments.

Those who can't comment or see comments please update your telegram app
Should we add Lyrics support to Saitama?

Note: Poll closes at 50 votes.
Final Results
63%
Yes, we need lyrics
20%
No, better solutions exist
17%
Who...is..rem?
Heroes Association • Saitama Updates pinned «How is your @SaitamaRobot experience so far?»
This media is not supported in your browser
VIEW IN TELEGRAM
Gonna take Saitama down briefly to merge new updates.
Do not panic like she is, okay?
🤖 Beep boop! boop beep!

Important changes:

• Blacklists, chat count, gban status, health wont print status for Telegram and the group anonymous bot
• Don't let anyone add bio or what others say to telegram and group anon bot
(Yes, A big fuck you for those who kept adding their group username to it so they could promote)
• Fixed the join logger, bots can now print where it was added
(this can be very helpful when debugging)
• GBAN_LOGS config var is now EVENT_LOGS as we print a lot of logs like AI enabled/disabled/new disasters added/gbans to OnePunchLogs
• OnePunchBans is now @OnePunchLogs
• Rearranged the entire app json in Heroku deploy for those visually impaired people who cant read English

Other fixes and shit:

• Fixing heroku webhooks, this is just an edit. Next update will focus on using webhooks ONLY
• Some edits to /ginfo
• Notes can now be fetched through connection
• Invitelink works through connection
• Bumped up python version
• Added lots of new welcome replies
• Fixed broadcast command
• Added a command for pixel
• Squashed some bugs and spread around new code to attract more bugs

Updating 8b3325c..1623410
Fast-forward
 README.md                         |  12 +--
/__init__.py | 8 +-
/__main__.py | 2 +-
/modules/admin.py | 4 +-
/modules/backups.py | 4 +-
/modules/bans.py | 2 +-
/modules/blacklistusers.py | 2 +
/modules/feds.py | 6 +-
/modules/fun.py | 3 +
/modules/global_bans.py | 29 ++++----
/modules/helper_funcs/handlers.py | 35 ++++-----
/modules/log_channel.py | 4 +-
/modules/notes.py | 15 +++-
/modules/sql/welcome_sql.py | 23 ++++++
/modules/userinfo.py | 27 ++++---
/modules/users.py | 7 +-
/modules/warns.py | 2 +-
/modules/welcome.py | 19 ++---
/sample_config.py | 4 +-
app.json | 102 +++++++++++++
| -------------
runtime.txt | 2 +-

21 files changed, 179 insertions(+), 133 deletions(-)

Have questions? want head-pats? cant read group rules?
Come join @OnePunchSupport
⚡️Next update will include anti-query-spam
To dumb it down, if you try to flood the bot to slow it down you will automatically be rate limited and ignored.
A big fuck you for those people who spam our bot to slow it down.
Have fun spamming Saitama then.
Heroes Association • Saitama Updates
Should we add Lyrics support to Saitama?

Note: Poll closes at 50 votes.
Even with the votes on the poll I am still confused wether we should add lyrics support or not.
On one hand the votes say people want it, on the other hand it isn't befitting of a group management bot and lyrics are printed with pure text walls.


*wears my sorting hat*
Will sit and ponder meanwhile you guys should follow the spiders

🕷
🕷
🕷
🕷
🕷🕷 @OnePunchSupport
Beep boop, I broke the bot.
Tryna fix it rn

Edit: We are up, sorry for the downtime.
Tip: If its working, dont update it.
New features:
● Anti-query Spam
Saitama now tracks spammers and rate limits them/ignores them.
This is an experimental beta release, more upgrades to this would come soon

Important changes:
● Group Anon mode and Telegram are treated as admins now
You can now run moderation commands as Saitama will treat the anon you as an admin now
Note: if you make an admin anonymous, they would have full access being anon..promote, ban, etc.
Even if they did not have it earlier (this is something that cant be avoided so make sure who you are giving admin)

● Gban is now Anti-Spam
Our Gban has evolved with the addition of Sibyl, Spam watch and has been renamed to suit the change.
/gbanstat is now /antispam and you can simply call gban as anti spam from this point forward. The /gban command is still as it is.

Bug fixes and stuff:
• Updated help for Disasters
• Hard coded PTB version (those who failed to deploy cause v13 came out can check this)
• Spam watch is now optional, it wont break the bot now
• Updates to readme
• Removed animation.py(/police) as the flood waits aren't worth it

🔄Git Pull changelog to master
Updating a4690af..edd1143
Fast-forward
/ISSUE_TEMPLATE/bug_report.md | 27 +++++++++++++++
/ISSUE_TEMPLATE/feature_request.md | 20 +++++++++++
/ISSUE_TEMPLATE/query.md | 11 ++++++
README.md | 8 ++---
/modules/animation.py | 39 ---------------------
/modules/bans.py | 2 +-
/modules/disable.py | 6 ++--
/modules/disasters.py | 22 +++++++-----
/modules/global_bans.py | 26 +++++++-------
/modules/helper_funcs/chat_status.py| 7 ++--
/modules/helper_funcs/handlers.py | 43 +++++++++++++++++++++++-
/modules/userinfo.py | 2 +-
/modules/welcome.py | 23 ++++++++++---
/sample_config.py | 7 ++--
requirements.txt | 3 +-
15 files changed, 163 insertions(+), 83 deletions(-)
create mode 100644 /ISSUE_TEMPLATE/bug_report.md
create mode 100644 /ISSUE_TEMPLATE/feature_request.md
create mode 100644 /ISSUE_TEMPLATE/query.md
delete mode 100644 /modules/animation.py

I know we said next update will focus on shifting to webhooks, this is delayed as anti-query spam was added midst of all this.

Feel free to join @OnePunchSupport
👍1
A while back we disabled link previews for /afk

This means that any afk message cant be interactive, like pasting a link to gif in your afk message. Would you like us to keep it this way or enable link previews again?
Final Results
50%
Enable link previews!
50%
Keep it this way, monospaced Afk
I am testing shit on production, Saitama will stay down an hour ish.
Adjust accordingly, curse me if you want idc.
📈 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?