remove unneeded log

The log was meant for testing only and shouldn't've been in the final pull
This commit is contained in:
MathMan05 committed 2025-11-27 21:26:37 -06:00
1 parent 7975d5156d
commit 0fd9478e00
1 file changed
-1
-1
View File
@@ -71,7 +71,6 @@ export async function handleMessage(opts: MessageOptions): Promise<Message> {
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