Open
Description
Bug type
Utility or complex functionality issue
Describe the bug
Just need to change the logging in the scamLogs handler to make it clearer that it is from scam logs
Logger.info('Starting Infraction process');
const newInfraction = {
infractionType: 'ScamLog',
moderatorID: msg.client.user.id,
reason: `Message content: ${msg.content.toString()}`,
date: new Date(),
infractionID: new mongoose.Types.ObjectId(),
};
let userData = await Infraction.findOne({ UserID: msg.author.id });
log(userData);
For example, just prefix with scamLogs
(Other commands may benefit from this, I just saw this when flicking through logs)
Expected behavior
Prefix the logs
Steps to reproduce
Run the command and check logs
References (optional)
No response
Additional info (optional)
No response
Discord Username (optional)
benw8484