Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Deleted Message Ghost Ping Remover #1101

Closed
3 tasks done
Fogest opened this issue Sep 1, 2024 · 3 comments
Closed
3 tasks done

Deleted Message Ghost Ping Remover #1101

Fogest opened this issue Sep 1, 2024 · 3 comments
Labels

Comments

@Fogest
Copy link

Fogest commented Sep 1, 2024

Plugin Description

Many servers I am in related to a game make use of a feature to "request" certain services in game. These requests appear via a Discord message from a bot that pings anybody who opts in for such requests. Once the request is filled the message is deleted. The problem here is with the way Discord handles deleted messages. The indicator of there being an unread message or mention is still present even though the message itself is there and the channel is empty.

It would be nice to have a plugin that could automatically mark a channel as read if the message no longer exists. This potentially may not be possible to do without too many requests to Discord. So an alternative option would be an ability to mark specific channels as "read" after x seconds/minutes delay since a message is sent.

There are plugins like "ReadAllNotificationsButton" that can kinda help with this problem. However it's a bit overkill as you may end up clearing notifications you do care about.

To be clear: I do not care what the deleted message is. I do not want to log the contents of it, I do not want to do anything of that nature that would violate Discord TOS. In fact the bot posting these requests already archives the message in a separate channel when the requests are filled.

Existing Plugin for other mod

https://github.com/Vendicated/Vencord/tree/main/src/plugins/readAllNotificationsButton

Request Agreement

  • I read the above and made sure my plugin is possible and allowed
  • I checked the existing plugins and made sure my plugin doesn't already exist
  • I searched the existing issues and made sure a similar request doesn't already exist
@sadan4
Copy link

sadan4 commented Sep 1, 2024

Not sure if this is possible without sending api requests

@Fogest
Copy link
Author

Fogest commented Sep 1, 2024

Not sure if this is possible without sending api requests

Yeah that was my worry about this request. I had a feeling it may not be entirely possible. I wonder if the alternative option I proposed would be possible without this? I assume the client knows when a message is received for a channel. If it would be possible to send a "mark as read" request to that channel X seconds after receiving a message in specific channels? Regardless of whether or not the message still exists or not. That way eliminating the need to query Discord on whether a message still exists or not.

@Scyye
Copy link

Scyye commented Sep 2, 2024

Not sure if this is possible without sending api requests

i mean, ReadAllNotifications exists, so i dont see why this couldnt.

@Vendicated Vendicated closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants