Add timestamp for admin confession embeds

This commit is contained in:
powermaker450 2024-10-14 12:41:52 -04:00
parent 8368beca29
commit d808ef0f15

View file

@ -32,7 +32,6 @@ import { StoreMan } from "../storeman";
import getRandomColor from "../utils/getRandomColor"; import getRandomColor from "../utils/getRandomColor";
import Logger from "../utils/Logger"; import Logger from "../utils/Logger";
import { submit } from "../modals"; import { submit } from "../modals";
import removeConfession from "../utils/removeConfession";
const logger = new Logger("(/) confess"); const logger = new Logger("(/) confess");
@ -118,6 +117,7 @@ export async function execute(interaction: ChatInputCommandInteraction) {
const adminConfessionEmbed = new EmbedBuilder() const adminConfessionEmbed = new EmbedBuilder()
.setColor(color) .setColor(color)
.setTitle(`Anonymous Confession \`${messageId}\``) .setTitle(`Anonymous Confession \`${messageId}\``)
.setTimestamp(Date.now())
.setDescription(messageContent) .setDescription(messageContent)
.addFields( .addFields(
{ {