Register handlers after db opened

This commit is contained in:
Tarrgon
2026-06-03 20:17:19 -04:00
parent fd3f626db4
commit 343cb3123c
3 changed files with 14 additions and 10 deletions
+1
View File
@@ -50,6 +50,7 @@ const regexTesters = [
const uniqueRegexMatches = (g, i, a) => a.findIndex(v => v[1] == g[1]) == i;
export async function handleMessageCreate(message: Message) {
console.log('message created');
if (message.author.bot) return;
if (message.inGuild()) await Database.putMessage(message);