We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da3688d commit cbcdb2eCopy full SHA for cbcdb2e
count-messages.ts
@@ -51,6 +51,15 @@ async function init() {
51
return acc;
52
}
53
54
+ const countedThisWeek = await statsCollection.count({
55
+ memberId: member.id,
56
+ yearWeek,
57
+ });
58
+ if (countedThisWeek) {
59
+ // console.log(`Skipping… countedThisWeek`);
60
+ return acc;
61
+ }
62
+
63
const messagesCount = await getMemberMessagesCount(member.id);
64
if (!messagesCount) {
65
// console.log(`Skipping… !messagesCount`);
src/commands/karma.ts
@@ -10,7 +10,7 @@ export const KARMA_REGEX = new RegExp(
10
);
11
12
const addKarma: Command = {
13
- name: 'addKarma',
+ name: '++',
14
description: 'Podziękuj użytkownikom wpisując `@nazwa ++`',
15
args: false,
16
cooldown: 10,
0 commit comments