fsvreddit / modmail-userinfo

A Devvit app that summarises user's history when they write in to modmail
https://developers.reddit.com/apps/modmail-userinfo
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Details of prior bans with duration if possible #38

Open fsvreddit opened 2 months ago

fsvreddit commented 2 months ago

Probably need to use mod log or modmail archive to look back then watch for mod action triggers from there.

https://www.reddit.com/message/messages/2bhd3uy

timendum commented 2 months ago

I had a look in the Devvit APIs, and it looks like it's not feasible.

https://developers.reddit.com/docs/api/redditapi/modules/models#-getmoderationlogoptions

It has no username nor action filters, unfortunately.

fsvreddit commented 2 months ago

That's what I remembered too. I believe it might be coming at some point though.

I might be able to work around it using modmails though, parsing the text in the ban message sent to the user.

fsvreddit commented 1 month ago

Modmail isn't an option, there's no search endpoint. This is on hold until Devvit is enhanced to allow this.