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

Include user tag in ban revoke log message #284

Open
danthe1st opened this issue May 14, 2022 · 2 comments
Open

Include user tag in ban revoke log message #284

danthe1st opened this issue May 14, 2022 · 2 comments

Comments

@danthe1st
Copy link
Member

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

@Bydand-dev

This comment was marked as off-topic.

@Bydand-dev

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants