zaanposni / discord-masz

MASZ is a selfhostable highly sophisticated moderation bot for Discord. Includes a web dashboard and a discord bot.
https://discord.gg/5zjpzw6h3S
Other
72 stars 17 forks source link

Adding Reasoning for server audit logs. #469

Closed TrissieTheHusky closed 2 years ago

TrissieTheHusky commented 2 years ago

Is your feature request related to a problem? Please describe. I really think the bot should add reasons when it bans or kicks someone with the moderator making the punishment so it doesn’t cause confusion if something happens to the bot. For the server audit logs. As of now it doesn’t specify reasons in audit logs.

Describe the solution you'd like Allow an option to choose reasoning added or not. Something to set the reasons for banning in the audit logs.

Describe alternatives you've considered I’m not sure some way to implement reasoning to bans in the audits.

Additional context Add any other context or screenshots about the feature request here.

zaanposni commented 2 years ago

Are you refering to discords audit log or MASZ' audit log? grafik grafik

Anyway I like the idea and will look into it. Maybe we can use the modcase title for this?

https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-entry-structure

It seems like the limit for discords audit log is 512 chars, so we might have to cut it if it exceeds those (unlikely).

TrissieTheHusky commented 2 years ago

The discord reasoning for banning and kicking. Aswell as many other things. So discord audit log. Sorry I didn’t explain more. 78D82CC9-6EB8-456B-AFC0-378A9D69028C

zaanposni commented 2 years ago

Alright, will be included in the next release 👍 We are currently rewriting MASZ' backend, so it might take a few days.

TrissieTheHusky commented 2 years ago

Nice, I’m glad that I was able to help address something that could be useful and implemented.

FeroxFoxxo commented 2 years ago

I believe this should already be included with the rewrite branch, closing :3