Skip to content

BlurNSFW with DM/Group Chat support#2991

Open
jakedev796 wants to merge 2 commits into
Vendicated:mainfrom
jakedev796:main
Open

BlurNSFW with DM/Group Chat support#2991
jakedev796 wants to merge 2 commits into
Vendicated:mainfrom
jakedev796:main

Conversation

@jakedev796
Copy link
Copy Markdown

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