© 2026 Hedgehog Software, LLC
let warnings = await db.find({ user: user.id, guild: message.guild.id, automod: flagCheck ? true : false });
for (const warn of warnings) { fields.push({ name: `${warn.type} | ID: ${warn.id}`, value: `> **Reason:** ${warn.reason}\n> **Date:** <t:${warn.date}:f>\n${ warn.expires === 'Never' ? '' : `> **Expires:** <t:${warn.expires}:f>` }`, inline: false }); }
@sapphire/discord.js-utilities