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

Getting DM Channel ID & DM Message Jumplinks #29

Open
scragly opened this issue Mar 7, 2021 · 3 comments
Open

Getting DM Channel ID & DM Message Jumplinks #29

scragly opened this issue Mar 7, 2021 · 3 comments

Comments

@scragly
Copy link

scragly commented Mar 7, 2021

Is your feature request related to a problem? Please describe.
Some modmail DM messages need to be reported to Discord Trust and Safety. To make a report, we require jump links to the message(s) specifically as references so the T&S team can verify anything they need to.

There doesn't appear to be a simple way to get the jump link for a specific message, or at least the DM channel ID in order to build a jump link by hand.

There is the ability to eval it with some work, but that's reliant on enabling it and having the correct perms to be able to use it, which makes it not a suitable solution.

Describe the solution you'd like
I'd like to have a ?jumplink <message_id> command, and optionally, the DM channel ID to be displayed in the initial thread embed footer.

You could possibly also make the channel ID and jumplinks available in the logviewer.

Describe alternatives you've considered
Eval is the only alternative I could think of, which I've outlined in the description.

Who will this benefit
I do think it could benefit a large portion of users, enabling easy jumplink generation for reports. I suspect a lot of people are either relying on eval, or perhaps choose to disregard reporting because of the hurdle of getting the necessary info.

@lorenzo132
Copy link
Member

Wouldn't it be nice to also add this to the logviewer incase any thread gets closed that needs to be reported to discord?

Talking about adding a "copy messagelink" button to logviewer when viewing the logs for each message ( #27 )

@scragly
Copy link
Author

scragly commented Mar 7, 2021

I've created a PR based on the suggestion over at modmail-dev/Modmail#2964

Regarding the logviewer, I think that may be a little more involved as I don't think the DM Channel ID data exists on it's side of things, so the log data sent from modmail to logviewer/mongodb may need to add it, plus the logviewer will need to add the respective model attributes and page formatting, while accounting for the fact historical data won't have it.

As it's a bit more than a quick PR, I didn't worry about it for now.

@fourjr
Copy link
Collaborator

fourjr commented Mar 7, 2021

Keeping open for the logviewer aspect.

?msglink has been added in v3.8.5 as per PR modmail-dev/Modmail#2964

@fourjr fourjr transferred this issue from modmail-dev/Modmail Mar 7, 2021
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

No branches or pull requests

3 participants