JavaBot icon indicating copy to clipboard operation
JavaBot copied to clipboard

Include user tag in ban revoke log message

Open danthe1st opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. Currently, the Ban revoked log embed only contains a timestamp, the responsible moderator and the id of the unbanned user. It is hard to easily identify users by id.

Describe the solution you'd like When revoking a ban, the bot should obtain the user with retrieveUserById. If this operation is successful, it should add a field with the tag (username and discriminator) to the ban revoked embed. If the user cannot be obtained, the log message should still be sent but the tag should be ommitted.

It might also be a good idea to include a reason argument/field for unbans.

Describe alternatives you've considered Using the audit log for this. However, this is tedious.

Additional context Screenshot_2022-05-14-23-31-36~2.png

danthe1st avatar May 14 '22 21:05 danthe1st

  • [ ]

Bydand-dev avatar Oct 01 '24 16:10 Bydand-dev

Details

Bydand-dev avatar Oct 01 '24 16:10 Bydand-dev