hikariatama / Hikka

The most fresh and updateable developer-oriented Telegram userbot
https://hikka.pw
GNU Affero General Public License v3.0
323 stars 527 forks source link

silent_tags suggestions #31

Closed anon97945 closed 2 years ago

anon97945 commented 2 years ago

Before continuing, check the mark below

Short description of idea: In silent_tags.py there will be a message in the silent-tags group. Since i can't unread send my own messages I don't see when someone tagged me and I do need to check that group manually.

my idea is that the bot sends it instead of the user and so you can see an unread notification. So you can see directly and at a glance that you have been tagged. Since the group is muted anyway, you won't get a notification.

If you have an existing implementation of this idea, e.g. in a another userbot, attach it here:

Any additional information: Reference: https://mods.hikariatama.ru/view/silent_tags.py

hikariatama commented 2 years ago

iirc you want to read the tag but keep it, correct? If you read the mention, messages will be read too, so there is no way to implement this, except of "Unread" mark on chat

hikariatama commented 2 years ago

fixed + added new features in 2.0.0

anon97945 commented 2 years ago

Mark messages from blocked users in the silent-tags group as read.

Configurable via config with true/false.

so it wont toggle the unread indicator if someone who is blocked tags you.

Also implement Bot message forwarding true/false, so that bot taggs will get marked as read but not be forwarded to the silent-tags group.

hikariatama commented 2 years ago

[ ] Add option to silently ignore tags by blocked users without logging [ ] Add option to silently ignore tags by bots without logging

anon97945 commented 2 years ago

[ ] Add option to exclude groups by id from logging.

Stop logging the silent-group with spamgroups.

1234, 5678, 8901

hikariatama commented 2 years ago

Added ignore_bots, ignore_blocked, ignore_users, ignore_chats, silent_bots, silent_blocked, silent_users, silent_chats to 2.0.3. For futhermore suggestions reopen the issue

anon97945 commented 2 years ago

IMG_20220519_234013_279

Error in debug log.

hikariatama commented 2 years ago

fixed