summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMathMan05 <mathmanrm@gmail.com>2025-11-27 21:26:37 -0600
committerMathMan05 <mathmanrm@gmail.com>2025-11-27 21:26:37 -0600
commit0fd9478e00f5dc0b452666ad1810d45c9c7dde69 (patch)
tree25187b5b07abfc43024b1d9a43c6255320a477c1 /src
parentPagnation and guild scoping for mention inbox (diff)
downloadserver-ts-0fd9478e00f5dc0b452666ad1810d45c9c7dde69.tar.xz
remove unneeded log
The log was meant for testing only and shouldn't've been in the final pull
Diffstat (limited to 'src')
-rw-r--r--src/api/util/handlers/Message.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts

index 39a54f4f..fd163014 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<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