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

[BUG REPORT] #411

Closed
1 task done
SobhanCU opened this issue May 15, 2023 · 1 comment
Closed
1 task done

[BUG REPORT] #411

SobhanCU opened this issue May 15, 2023 · 1 comment
Labels

Comments

@SobhanCU
Copy link

Contact Details

sobhancu

What happened?

A bug happened!
When the edit takes is turned on and you're a sudo of someone's userbot and they set a handler for sudo users, you send a message and then edit it to a command, but the command is written with the handler of their userbot (the main handler, not sudo handler), and the userbot will take it as the command and run it!

Version

0.7

Hosted On

Vps

Relevant logs output

No log,

Acknowledgement

  • I have followed all of the above steps.
@SobhanCU SobhanCU added the bug Something isn't working label May 15, 2023
@xditya xditya added answered and removed bug Something isn't working labels Apr 1, 2024
@xditya
Copy link
Member

xditya commented Apr 1, 2024

That is exactly why it's called "edit takes", it takes edits for a command.

However you edit, using SUDO or manually, the update is received as edited by the sender, and not someone else.

@xditya xditya closed this as completed Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants