-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
When I purge a chat message, the whole chat gets reset #7
Comments
Hello. Never notice that both /clear and /timeout uses same command id. I will update the themes later during Chinese New Year holidays. This code should fix the issue. Will test further as I update the themes.
Edit: Wait this does not fix all issues. Will try to find other solution.
Edit 3: Doesn't need ban duration.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, great work. I'm having a problem though with the chat box getting cleared completely when I purge a message.
The problem seems to be:
if (obj.detail.command === "CLEARCHAT") { $('#log').empty(); }
Which completely deletes the chat instead of purging an individual message.
The text was updated successfully, but these errors were encountered: