You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 29, 2021. It is now read-only.
afk: don't crash if an anonymous message mentions user
squash change from:
1. afk: don't crash if an anonymous message mentions user [KenHV/KensurBot@7dc089c]
get_sender() returns None if telegram didn't send the sender.
this leads to the bot crashing whenever an anonymous message mentions
the user, as the afk event handler doesn't account for this case.
let's add a check to handle this case.
2. afk: fully handle anonymous admin [MrMissx/UserButt@1c29d68]
follow up for commit MrMissx/UserButt@46a239d
now the anonymous admin info saved and
notified on BOTLOG as a group name.
Co-authored-by: KenHV <[email protected]>
Co-authored-by: Mr.Miss <[email protected]>
Signed-off-by: MoveAngel <[email protected]>
0 commit comments