From 0fd9478e00f5dc0b452666ad1810d45c9c7dde69 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Thu, 27 Nov 2025 21:26:37 -0600 Subject: [PATCH] remove unneeded log The log was meant for testing only and shouldn't've been in the final pull --- src/api/util/handlers/Message.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts index 39a54f4f0..fd1630149 100644 --- a/src/api/util/handlers/Message.ts +++ b/src/api/util/handlers/Message.ts @@ -71,7 +71,6 @@ export async function handleMessage(opts: MessageOptions): Promise { if (limit) { const lastMsgTime = (await Message.findOne({ where: { channel_id: channel.id, author_id: opts.author_id }, select: { timestamp: true }, order: { timestamp: "DESC" } })) ?.timestamp; - console.log(limit, lastMsgTime && +lastMsgTime - (Date.now() - limit * 1000)); if (lastMsgTime && Date.now() - limit * 1000 < +lastMsgTime) { permission ||= await getPermission(opts.author_id, channel.guild_id, channel); //FIXME MANAGE_MESSAGES and MANAGE_CHANNELS will need to be removed once they're gone as checks