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

Visit @OnePunchSupport for help

Powered by @Kaizoku
Download Telegram
So just a heads up that our go lang rewrite is making progress.
Feds are now in progress which would means most of the modules would be at a useable level soon.

This message is a heads up for those who wanted multi lang on Saitama because they will get it on the go lang version so we will need all your help to translate the bot in various languages.

Look forward to the new Saitama
✳️ Public Alpha Test for @SaitamaGoRobot

As most of you already know that a rewrite for Saitama Robot has been in the making for quite some time, to help speed things up we have decided to setup a bugs and suggestions reporting group for the testing instance.

Note: SaitamaGoRobot is just a testing bot, it is not a replacement for SaitamRobot (for now)

Those who are interested in seeing the new version or testing things before anyone else can well...follow the spiders...

🕷
🕷
🕷
🕷
🕸 Join here
🗣 Query regarding multi-lang support

What languages would you like to see in multi-lang support on the upcoming SaitamaRobot rewrite?
Let us know in comments below
👍1
🧹 Database Maintenance

Running a smol-smol cleanup on Saitama and Kigyo, both will stay down for a few minutes.
Edit: Looks like its gonna be more than a few minutes, you can panic now if you want.

Edit2: Saitama is back up and running, sorry for the delays. 🎉
👍1
✳️ Cumulative Update September 2021

🆕 Features
• Added reminders module, do read its help first
• Added /getstats (owner-only) to get query statistics
• Added /disasters command to users can get that info
• Sed module is re-nabled

🛠 Handler changes
/addchat is now /chatbot with button-based controllers
/bonk is now removed on public demand
That and it went out of use anyway

🔄 Changes
• Rewrite /stickers to HTML
• Use in-memory file for get-sticker instead of disk
• Attempt to add filter exports (might be broken)
• Update regex timeout to 0.01s
• Sort disable commands
• Fixed some stuff in /cleanwelcome
• Help for bans, muted is moved to admin
• Removed a specific slap reply
• Improved help documentation and design
(still needs more work in the admin section for pagination)
• Added buttons support for broadcast command
• Removed Kayo from anime and ping-all
• Sort disabled commands in a sensible list
• No backup rate-limits for dragons or higher
/dict module changed to a better one but it still bugged out on some replies
• Sticker blacklists now ignore approved users
• Improvements to pin module
• Don't mute approved users if they slap Saitama
• Use memory session for telethon client instead of file
• Pre-commit hooks update and files formatted

🐞 Bug Fixes
• Fixed /addblacklist wasn't giving any response
• Fixed some console errors
• Fixed console errors in afk
• Escape ignored commands in blue text cleaner
(this module still requires public testing)
• Promote-demote permission fixes
• Added more bugs to fix later

@Kaizoku | @OnePunchUpdates
👍2
✳️ Last Update for September 2021

The dictionary module has been reworked.
Please do check it out, we hope that the module helps you in your groups.

🔄 Changes
• Rewritten dictionary module

This update was possible thanks to Kneesocks

@Kaizoku | @OnePunchUpdates
👍1
⚱️ Ripppu Rip event

Dictionary module got rekt after Saitama got restarted in the update - the partial workaround is in development branch.
Will merge to master soon, hopefully today.

Until then /dict will not function

@Kaizoku | @OnePunchUpdates
👍1
🤖 New Bot to the Team!

A lot of users have been asking us to let Saitama be added to groups, Sai is our main group management bot - we simply cant have him do more than its capability allows.

To help mitigate this issue we have launched a new bot!
Same Saitama code, same commands and same functionalities.

Welcome - Mob!
Shigeo Kageyama - Known to anime fans as simply...Mob will be joining Kaizoku to help with group management and support.
Feel free to invite Mob by adding @ShigeoRobot

I don’t want to see anyone else hurting people, or anyone else getting hurt.” – Shigeo Kageyama

@Kaizoku | @OnePunchUpdates
👍1
"You bunch with your little game of 'Let's pretend to fight for justice' can't win against a truly strong opponent, nor can you protect anything." - Sonic


• Moved the dict DB folder to Bot folder instead of users folder
• If AFK is disabled then don't even say un-afk messages in that group
• Improvements to /leave command for devs
• Bot's name is dynamically fetched across repo instead of hardcoded "Saitama"
/echo command if send empty and in reply to a message now echoes that message
• Some updates like moving PM start text, bot start image etc to config file so that we can deploy more copies with minimal changes to the repo code
• Filters now reply to the user who triggered it, earlier we had filters that reply to no one but looking at how users can just use telegram channel comments its best that

@Kaizoku | @OnePunchUpdates
1👍1
🐞 Small Bug Fix Update

• Dictionary module is enabled and stable
• Mandatory reason needed on /report
• Edited the lockdown leave reply
• Added custom Tg File API var

Reminder that those who cannot add Saitama can always add our alternate bot @ShigeoRobot

@Kaizoku | @OnePunchUpdates
👍1
✳️ Cumulative Update October 2021

In this update, we fixed some user-reported bugs and included extended help for /markdownhelp - some logical improvements to reporting commands were also pushed to the branch. Read the changelog for more

🔄 Changes
• Fixed broadcast groups command (it actually works now)
• Fixed logging when the bot is added to groups in join logger
• Fixed a button issue reported by Kyliekyler here
• Added fillings to notes, filters (you can make a filter trigger only to admin or users among other things)
Read /markdownhelp on how to use this
• Fixed filters replied to the user you replied when triggered, now they reply to the user who triggers them
• Reporting now will not self-report, if a user sends a text and self reports it this will get denied
• Added a mark as resolved button to Saitama's "reported to admins" text
• Chatbot bot name is dynamically updated in between messages
• Added some more bugs to fix later

▫️ Modules enabled
• Chatbot is now re-enabled for Mob

----------------------------
This update affects the following bots
@SaitamaRobot
@ShigeoRobot
@HyperRobot
----------------------------

@Kaizoku | @OnePunchUpdates
👍3
✳️ Cumulative Update November 2021

This update is divided based on the module in question.
Lots of new things are coming with this update so please feel free to read them carefully.

Admin Module
• Added /dban - short for delete the message and ban
• Connection support added for rules
• Support for Anonymous Admins
The bot will now give a button that will check which admin clicked it, so anonymous admins can now use the bot without issues
• Improvements to rules and their functions
• Added /rules here doing this will print the rules in that same group instead of PM
• Added /gtitle command to set the title of a group

Anti Spam Module
• Added initial support for Sibyl API
• Fixed a typo
/gbanlist output is now a JSON instead of txt

Blacklist Module
• Ignore invisible characters in blacklists
/blacklist now shows the total count of words censored

Connection Module
• Added support for welcome, rules, and reminders
• Fixed some bugs when a no username person used connections
• Fixed some bugs around connection and filters
• Some more improvements

Filters Module
• The /filters command is now admin only

Fun Module
• Slap with custom arguments
Example: /slap All Might
Result: Output slap will use the name All Might instead of the person being replied to
• Reply to correct person when bot is slapped
• Fixed errors when the bot will not reply on /slap

Info & AFK Module
• AFK is now truly disabled, no replies of any sort if the afk module is off

Reminders Module
• Reply to a text with /remind time to set a reminder for that text
• Disabled webpage previews in reminders

Stickers Module
• Fixed an error raised during /kang when replying to non-stickers
/stickers now has buttons to see next pages, you can now search even more stickers by going forward if more results are found
• Stickers command will not send buttons for anon admins and channel messages

Welcome Module
• Display welcome (if on) for banned users if the antispam mode is off
• Some more minor improvements
• Fixed double-welcomes bug and general improvements to welcome mute

More Backend Changes and Fixes
• Censor API ID and Token in the log file
• Added jurigged support (requires prod testing)
• Stop double escaping texts tree wide
• Fixed some console errors
• Improvements to stats command


@Kaizoku | @OnePunchSupport
👍2
Should we delete the "user joined" message and the user failed human verification message completely for users who fail it? this will remove those stupid scam bots that join and fail easily.

Note: their join logs on channel are still there.
Anonymous Poll
73%
Yes, remove the join message and bot message
27%
No, keep it as it is
👍1
✳️ FOLLOW THE RURUS Update December 2021

This is an unfinished update due to the sudden update from Telegram's support for new ID's.
This update brings stability and support for the new Ints along with a dozen changes, improvements to various modules.

🔄 Changes:

❖ Admin
• Show user ID in ban events
• Unpin command improvements
• Require change group info perms to modify filters and notes
• Require ban permissions to warn people
• Require change group info to modify locks
• Mute command ignores an already muted user
• Warns show user ID in events
• Added temp ban event to logging
• Added mute events to logging
• Added warnmodes (see help for more)
• Added rules button to events caused by Warns
• Fixes to /settings
• Added unban button to ban events
• Warns and mutes have an unmute button (depends on warn mode)
• Improved support for anonymous mode
/fullpromote gives anon permissions as well (if Saitama is also given anon perms)

❖ Locks
• Rewritten RTL locks logic

❖ Connections
• If connected, send alert for a new admin event in pm
• Connections support for title, admincache, adminlist, warns
• Anon admin support for connect commands

❖ Fun
• Fixes and improvements to slap commands

❖ Federations
• Improvements to /newfed command
• Fixes to /setfedlog and unsetfedlog commands
• Anon admin support for fedcommands

❖ Greetings
• Disabled webpage preview for welcome and goodbye
• Added rulesbtn (see fillings help on how to use)
• Limited welcome captions to 1024 characters
• Added caption support for custom goodbye messages
• Fixed a bug in setwelcome where it wont save a replied to message if message was plain text

❖ Sibyl System
• Added Sibyl System client
• Added Hue detection and crime coefficient detection
• Reworked SibylSystem ban module

❖ Reminders
• Design improvements to reminders

❖ Other Changes
• Minor changes to sample config
• Added "noformat" to get unformatted text for notes, filters
Example: #note/filter name noformat
• Removed unused code
• Improvements to sed/regex
• Made /leave reasons optional
• Removed unused dependency
• Reduced dependency needs for Spamwatch API
• Round off /ping response
• Added silent purge command via /spurge
• Fixed a minor bug in /id

Note: Sibyl System module is still in development - it is loaded with this update but not in use.

This update was possible through the sheer effort of @TheKneesocks | FOLLOW THE RURUS
Please do drop your regards and thanks in the comments

----------------------------
This update affects
@SaitamaRobot
@ShigeoRobot
@AllMightRobot
@HyperRobot
----------------------------

@Kaizoku | @OnePunchSupport
1👍1
✳️ 2nd Cumulative Update for December 2021

• Admin button verification for telegram ID ⚠️
• Bug fixes and general improvements
• Improved crime coefficient logic
• Fixes to connections notes, filters
• Fixed Admin permission check for filters
/promote now gives manage voice calls perms by default
• Fixed "/help module name" in pm

With the recent telegram update Saitama and other bots wont be able to ban "telegram channels" for some time until the next ptb update and until we shift from ptb v12 to 13, this gonna take a while, ensure that you and your admins are on latest telegram app and are able to handle telegram channels posting as users cause shit just got real

Tip: one way of not letting telegram channel post in group is to run "/cleanlinked on"
👍2
For those tormented by jerks posing in your groups as channel, no longer!

Here is our solution as @DisableChannelRobot

Add as admin, it will delete channel messages and ban them on sight, no configuration required.

Your linked group channel is ignored.
You can disable cleanlinked and simply switch to the bot!

Powered by @Kaizoku
👍5🔥2
🤩3👍2🔥2
🎉 Final Update for December 2021

This is most probably going to be our last update for Saitama, Shigeo and All Might on the Python versions
Python private repo will be archived and we will actively work on the go version starting 2022. Nothing to worry about, the bots will still run and when we go version catches up-to the python ones we will hot swap them to the go version. Happy new year! 🥳

Version Upgrade
• Bumped up PTB version to v13.9
• Moved all PTB hacks to proper lib functions

Anime
• Removed kayo from handlers list
• Anime results now parse links and hide spoilers
• Removed /user command from anime module

Approval
• Fixed /approve gives error when not replying to anyone

Admin
• Fixed /purge x messages not working
• Design improvements for channel logging
/del command deletes message above it if sent in the group without replying to target
• Added support to ban channels
• Added warning and ban button for channel mute, tmute, kick, warns because these do not work on channels anyway
• Rewrote admin cache logic

Connections
• Saitama now pins a warning when you connect to a chat in PM

Devs
/broadcast now spawns a new thread to avoid blocking

Extras
/paste now pastes documents
/id command is now on steroids, provides media and other details
• Added a warning to UD results because dumb people think its an actual dictionary
• Added a google search button to UD
• Paste now uses telegraph instead of nekobin
• Minor changes to strings here and there
• Added some more bugs to fix later
• Added an easter egg for Lord Full Metal

Filters
• Fixed filters not storing caption

Fun
• Removed /rlg and /sanitize commands
• Added gif support using an API for /pat
/pat replies to you if you try to pat the bot

Greetings
• Fixed sending stickers as a welcome message
• Welcome mute now deletes user joined message (service message) and its own kicking user message if the user failed captcha verification, this results in no spammy messages if a user fails multiple times

Locks
• If lock forward is on, do not delete linked channel forwards
• Fixed lock messages and media not working

Reminders
• Bug fixes and improvements to remind

Sibyl System
• Changes to hue and cc logic

@Kaizoku | @OnePunchSupport
👍4🔥1
🐞 Bug Fixes January 2022

Starting with this update no new feature will be added to the bot until we finish up the bot in go, bug fixes maybe pushed depending on severity.
There are plenty other bugs to be fixed, we might release updates on those if we can.

• Fixed errors in purgeto
• Ran autopep8 through the bot
• Made /warn disableable because of this convo
• Bug fix for bare welcome

Suggestion for Rose support:
Please have the flexibility to help your users, not everything needs to be professional to the point it becomes a pain instead of help. If the only team on the planet who can help wont help, who will?

@Kaizoku | @OnePunchSupport
👍31
🪲 2nd Bug Fix Update January 2022


• Fixed trying to translate🐞 non-text in translate
• Fixed 🐛no results found, no args
• Fix local variable referenced before 🐞assignment errors
• Fix getting anime 🐞description, character description in anime
• Fix passing 🐛unnecessary arguments
• Ignore errors when sending the No idea who this user is text
• Ignore 🐞Unauthorized errors
• Point to right lang🐛 codes list in 🐞translate
• Fixing🐛 passing invalid value for URL when kanging

🗒 Note 1: As you can see, lots of bugs here and there that were fixed for this update.

🗒 Note 2: For those expecting us to add spoilers to lock, we have no plans to add a spoiler lock type as spoiler is just another markdown like bold, italics - there isn't a need to lock it.

@Kaizoku | @OnePunchSupport
👍10👎3🎉3🔥2
👁‍🗨 Reactions are now enabled!
👍54😱15🎉15👎12😁1110🔥9😢7🤩7