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

[Plugin] fakeBlocked #2492

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from
Open

Conversation

henmalib
Copy link

This plugin allows to completely hide all user messages from a chat.

I don't like the idea of a query after removal or adding to a list, but without updating (like hovering, for example), the message wouldn't be updated and hidden, but patching works well for new messages :3

Some users have requested this plugin previously: Vencord/plugin-requests#466 Vencord/plugin-requests#484, so it might be really useful for someone.

Copy link
Contributor

@schoeneBiene schoeneBiene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plugins need a README.md

{
find: ".messageListItem",
replacement: {
match: /(.{1,30})\.messageListItem,/,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should probably use \i for matching identifiers

Suggested change
match: /(.{1,30})\.messageListItem,/,
match: /(\i)\.messageListItem,/,

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it better now?

Comment on lines 5 to 6
![Before](https://github.com/henmalib/Vencord/assets/68553709/6b74018a-77c9-4937-b504-a70b2cee1d65)
![After](https://github.com/henmalib/Vencord/assets/68553709/59ec88d7-f9a4-4b07-8775-db2fb67a8ad2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These assets should probably be on the main repo.

Comment on lines 5 to 6
![Before](https://github.com/henmalib/Vencord/assets/68553709/6b74018a-77c9-4937-b504-a70b2cee1d65)
![After](https://github.com/henmalib/Vencord/assets/68553709/59ec88d7-f9a4-4b07-8775-db2fb67a8ad2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not really descriptive what these mean, maybe something like

Suggested change
![Before](https://github.com/henmalib/Vencord/assets/68553709/6b74018a-77c9-4937-b504-a70b2cee1d65)
![After](https://github.com/henmalib/Vencord/assets/68553709/59ec88d7-f9a4-4b07-8775-db2fb67a8ad2)
## Before
![Before](https://github.com/henmalib/Vencord/assets/68553709/6b74018a-77c9-4937-b504-a70b2cee1d65)
## After
![After](https://github.com/henmalib/Vencord/assets/68553709/59ec88d7-f9a4-4b07-8775-db2fb67a8ad2)

?

@henmalib henmalib changed the title [Plugin] hide messages [Plugin] fakeBlocked Jun 2, 2024
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