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

BlurNSFW with DM/Group Chat support #2991

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jakedev796
Copy link

Description

Enhanced the BlurNSFW plugin to support blurring images in DMs and group chats. Added a toggle option in settings to enable/disable DM blurring independently of NSFW channel blurring.

Changes

  • Added new blur direct message toggle option in settings
  • Added DM and group DM detection and blur functionality
  • Blur amount settings affect both channel and DM blurring

Testing

Tested functionality in:

  • NSFW channels (existing blur working as expected)
  • Direct Messages (new blur working with toggle)
  • Group DMs (blur working with same toggle as DMs)
  • Settings menu:
    • Blur amount slider affecting both NSFW and DM images
    • DM toggle properly enabling/disabling blur in DMs and group chats
    • Settings persisting after Discord restart
  • Hover functionality working correctly in all contexts

Originally uploaded this a few hours ago but from testing with another user, they were experiencing crashes where I wasn't. I have since solved those issues.

Apologies for how much the code changed, the original code wasn't very happy with my DM toggle setting.

Allows blurring images in DMs, with a configurable setting.
Completed implementation of this feature. Adds a setting for enabling image/video/media blurring within direct messages and group chats.
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.

1 participant