Cast another net

This commit is contained in:
powermaker450 2024-10-13 15:39:27 -04:00
parent 70dce2667e
commit f4cc93b07d

View file

@ -65,6 +65,7 @@ BotClient.on(Events.InteractionCreate, async interaction => {
});
BotClient.on(Events.MessageDelete, async message => {
try {
const guildId = message.guild?.id!;
const messageId = message.id;
const confessions = dt.getGuildInfo(guildId)?.confessions!;
@ -74,6 +75,9 @@ BotClient.on(Events.MessageDelete, async message => {
dt.adminDelConfession(guildId, confession.id);
}
}
} catch (err) {
logger.error("An error occured:", err);
}
});
BotClient.on(Events.InteractionCreate, async interaction => {