Skip to content

Commit c69661e

Browse files
authored
Add 'thank' to rep list, for 'thank you'.
1 parent 0e4d3d0 commit c69661e

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(?: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)