const attachment = new Attachment(
path.join(
__dirname,
"../",
"reports",
`ticket-${row.id}.html.rename`
)
);
await interaction.channel.send(
`Ticket #${row.id} closed by ${interaction.user.username}`,
{
files: [attachment],
}
);
const attachment = new Attachment(
path.join(
__dirname,
"../",
"reports",
`ticket-${row.id}.html.rename`
)
);
await interaction.channel.send(
`Ticket #${row.id} closed by ${interaction.user.username}`,
{
files: [attachment],
}
);