remove debug prints (oops

This commit is contained in:
slonkazoid 2024-12-15 17:44:32 +03:00
parent 54bb8ef16d
commit 35b53f7177
Signed by: slonk
SSH key fingerprint: SHA256:tbZfJX4IOvZ0LGWOWu5Ijo8jfMPi78TU7x1VoEeCIjM

View file

@ -19,7 +19,6 @@ export default definePlugin({
preference = !isHoldingShift; preference = !isHoldingShift;
settings.store.users[message.author.id] = preference; settings.store.users[message.author.id] = preference;
} }
console.log(message.author.id, preference);
return preference; return preference;
}, },
@ -33,12 +32,10 @@ export default definePlugin({
}, },
replies: Record<string, { message: Message }> replies: Record<string, { message: Message }>
) { ) {
console.log(arguments);
let reply = replies[channelId]; let reply = replies[channelId];
if (reply === undefined) return; if (reply === undefined) return;
let id = reply.message.author.id; let id = reply.message.author.id;
if (settings.store.users === undefined) settings.store.users = {}; if (settings.store.users === undefined) settings.store.users = {};
console.log("updated state for", id, shouldMention);
settings.store.users[id] = shouldMention; settings.store.users[id] = shouldMention;
}, },