Skip to content

Commit 6162c7b

Browse files
authored
Expand thanks? to thank|thanks in rep regex
1 parent c69661e commit 6162c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/rep.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class RepModule extends Module {
1919

2020
MAX_REP = 3;
2121

22-
THANKS_REGEX = /\b(?:thanks?|thx|cheers|thanx|thnks|ty|tysm|tks|tkx)\b/i;
22+
THANKS_REGEX = /\b(?:thank|thanks|thx|cheers|thanx|thnks|ty|tysm|tks|tkx)\b/i;
2323

2424
async getOrMakeUser(user: User) {
2525
let ru = await RepUser.findOne(

0 commit comments

Comments
 (0)