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

Bot re-execute all commands after re-joining the room #162

Closed
AnassDriate opened this issue Sep 29, 2023 · 1 comment
Closed

Bot re-execute all commands after re-joining the room #162

AnassDriate opened this issue Sep 29, 2023 · 1 comment

Comments

@AnassDriate
Copy link

Hello,

I'm encountering an issue with the behavior of my bot when it leaves a room and then rejoins. Specifically, the bot re-executes all previous commands and ends up leaving the room again because the last command issued was to leave.

I've explored a couple of potential solutions but haven't found the ideal one yet. Deactivating the sync option, while preventing the bot from autojoining, is not suitable for my use case. I also attempted to forget the room after leaving it, hoping to clear the command history, but even after rejoining and syncing, the bot continues to re-execute all previous commands.

The goal is to ensure that the bot doesn't repeat commands upon rejoining the room while still retaining the ability to autojoin when necessary.

Thank you in advance for any assistance.

Regards,

@tulir
Copy link
Member

tulir commented Sep 29, 2023

Duplicate of #128

@tulir tulir marked this as a duplicate of #128 Sep 29, 2023
@tulir tulir closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants