TranscriberBot icon indicating copy to clipboard operation
TranscriberBot copied to clipboard

[feature request] Ignore user

Open tiagogl opened this issue 3 years ago • 5 comments

Have feature to ignore some users of channel. This will avoid translate other bots.

tiagogl avatar Aug 04 '22 11:08 tiagogl

Hi, can you explain better your request? Maybe, with some example?

Thanks 😁

stefanodelbosco avatar Aug 04 '22 17:08 stefanodelbosco

If ht goal is just to ignore messages from bots, the easiest way would be to check the sender's details - if it's a bot, update["message"]["from"]["is_bot"] will be set to True.

turicas avatar Aug 05 '22 04:08 turicas

Uhm.. now the bot update contains the messages from others bots?

I remember that is not possible trigger a bot from another bot, because the bot update should not contain the events..

I need to check, but I'm pretty sure of that.. 🤨

stefanodelbosco avatar Aug 05 '22 05:08 stefanodelbosco

Do you mean when you use bots in a channel? Example: Bot1 send a voice message in the channel where is present also TranscriberBot

If you can explain your situation is better for me create a test situation for investigate

stefanodelbosco avatar Aug 05 '22 05:08 stefanodelbosco

Here an example: Person called a music on DeezerBot and transcriber started , transcribe the music Screenshot_20220805-073610_Telegram

If We have option to ignore some users of channel , We can configure transcribe to ignore deezerbot and others to avoid this kind of situation.

tiagogl avatar Aug 05 '22 11:08 tiagogl