(core): fix commands, events & database.

This commit is contained in:
2026-08-26 13:27:20 +08:00
parent eaf05aebc3
commit eb5754d60a
8 changed files with 90 additions and 30 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ class MessageReactionAddEvent extends Event<CommandClient> {
const _user = await getUser(member.id);
if (!_user.privacy.optin) return;
await setUserXp(member.id, { current: _user.xp.current + 1 });
await setUserXp(_user.user_id, { current: _user.xp.current + 1 });
}
}