fix(arabot): fix embeds being linked to each other

This commit is contained in:
smyalygames 2023-03-17 01:02:59 +00:00
parent 857319e136
commit b32c7954bd

View File

@ -191,10 +191,11 @@ export class BalanceCommand extends Command {
}
}
embed
const logEmbed = new EmbedBuilder(embed.data);
logEmbed
.setTimestamp()
.setFooter({ text: `ID: ${user.id}` });
await logChannel.send({ embeds: [embed] });
await logChannel.send({ embeds: [logEmbed] });
return info;
}
}