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

refactor: filters and filter factory #2914

Merged
merged 9 commits into from
Dec 9, 2024
45 changes: 0 additions & 45 deletions src/backend/events/filters/builtin-filter-loader.js

This file was deleted.

8 changes: 8 additions & 0 deletions src/backend/events/filters/builtin-filter-loader.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import filterManager from "./filter-manager";
import filters from "./builtin";

export function loadFilters() {
for (const definition of filters) {
filterManager.registerFilter(definition);
}
}
51 changes: 0 additions & 51 deletions src/backend/events/filters/builtin/bits-badge-tier.js

This file was deleted.

55 changes: 0 additions & 55 deletions src/backend/events/filters/builtin/chat-mode-duration.js

This file was deleted.

54 changes: 0 additions & 54 deletions src/backend/events/filters/builtin/chat-mode-setting.js

This file was deleted.

51 changes: 0 additions & 51 deletions src/backend/events/filters/builtin/cheer-bits-amount.js

This file was deleted.

43 changes: 0 additions & 43 deletions src/backend/events/filters/builtin/currency.js

This file was deleted.

72 changes: 0 additions & 72 deletions src/backend/events/filters/builtin/custom-variable-name.ts

This file was deleted.

Loading
Loading