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

made chat filter able to be disabled #15

Closed
wants to merge 1 commit into from

Conversation

Dreamedc2015
Copy link

No description provided.

@Visual1mpact
Copy link
Owner

Unfortunately, this change won't work. It's in the right direction but needs to be handled differently. Disabling the function for ChatFilter will subsequently break the ability for staff to tag their names using the command !tag . Inside the function for ChatFilter it has a hard implementation for filtering the messages being broadcasted. The filter will need to be extracted from that function and isolated elsewhere. I suggest making it into a module using the current module in this patch and mimicking the module for namespoofB for "regex" but an implementation that offers the module control over enabling or disabling it.

@Dreamedc2015
Copy link
Author

making it configurable isnt actually a bad thing. people may not even want the option to be tagged

also "chat filter" isnt a really good way to name the thing which does your nicks

@Visual1mpact
Copy link
Owner

Visual1mpact commented Feb 16, 2022

They are two separate features built into one single concept. Blocking both for one isn't feasible. Needs to be isolated to be considered. So that both are available.

@Visual1mpact
Copy link
Owner

Closing this pull request since it is inadequate as is and no changes have been made since the initial request.

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

Successfully merging this pull request may close these issues.

None yet

2 participants