Use correct reporter index

This commit is contained in:
Tarrgon
2026-05-20 15:35:30 -04:00
parent d26e105627
commit c7405c4c92
@@ -12,7 +12,7 @@ export default {
const regex = new RegExp(MessageMentions.UsersPattern);
const reportedMessageUrl = reportEmbed.fields[0].value;
const reporterId = regex.exec(reportEmbed.fields[2].value)!.groups!.id;
const reporterId = regex.exec(reportEmbed.fields[1].value)!.groups!.id;
const additionalInfo = reportEmbed.fields[3]?.name == 'Additional Information' ? reportEmbed.fields[3].value : '';
const reporter = await guild.members.fetch(reporterId) ?? await client.users.fetch(reporterId);