Adds an optional targetUser property to to audit log helper function. If the targetUser is included, the function will now generate a thumbnail of that user. If it's not included, it will generate a thumbnail of the interaction user (usually the moderator). Implemented this functionality in those slash commands that were already including a thumbnail of the target user for the text based commands.
Any helpful knowledge/context for the reviewer?
Is a re-seeding of the database necessary? No
Any new dependencies to install? No
Any special requirements to test?
(e.g., admin perms, alt account, etc.)
Please make sure you've attempted to meet the following coding standards
[X] Code has been tested and does not produce errors
[X] Code is readable and formatted
[X] There isn't any unnecessary commented-out code
What issue is this solving?
Closes #316
Description
Adds an optional targetUser property to to audit log helper function. If the targetUser is included, the function will now generate a thumbnail of that user. If it's not included, it will generate a thumbnail of the interaction user (usually the moderator). Implemented this functionality in those slash commands that were already including a thumbnail of the target user for the text based commands.
Any helpful knowledge/context for the reviewer?
Please make sure you've attempted to meet the following coding standards