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.
2 parents e417a09 + 25f9c66 commit 979c1b5Copy full SHA for 979c1b5
src/modules/rep.ts
@@ -20,7 +20,7 @@ export class RepModule extends Module {
20
MAX_REP = 3;
21
22
// all messages have to be fully lowercase
23
- THANKS_REGEX = /(?:thanks|thx|cheers|thanx|ty|tks|tkx)\b/i;
+ THANKS_REGEX = /\b(?:thanks|thx|cheers|thanx|ty|tks|tkx)\b/i;
24
25
async getOrMakeUser(user: User) {
26
let ru = await RepUser.findOne(
0 commit comments