Jailing log for Discord?

Hi,
I was wondering if there is a jailing log in excistence. If not, could someone be able to create it?

_ Jailing log system, how it should work:

If player gets jailed by police, then the discord bot should send information: Arrested by who/time/crimes/date.

Thank you!

Example here: [Release] FiveM To Discord