Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Ignore user #49

Open
tiagogl opened this issue Aug 4, 2022 · 5 comments
Open

[feature request] Ignore user #49

tiagogl opened this issue Aug 4, 2022 · 5 comments

Comments

@tiagogl
Copy link

tiagogl commented Aug 4, 2022

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

@stefanodelbosco
Copy link
Member

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

Thanks 😁

@turicas
Copy link
Contributor

turicas commented Aug 5, 2022

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.

@stefanodelbosco
Copy link
Member

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
Copy link
Member

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

@tiagogl
Copy link
Author

tiagogl commented Aug 5, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants