small update for V2
just extended messages db
This commit is contained in:
parent
3e23f0036f
commit
8b7905907a
15
index.js
15
index.js
@ -161,7 +161,11 @@ client.on('messageCreate', async message => {
|
||||
'strategies to collect coins',
|
||||
'what are the techniques to get coins',
|
||||
'coins',
|
||||
'claim reward'
|
||||
'claim reward',
|
||||
'how coins',
|
||||
'coins get',
|
||||
'plz coins',
|
||||
'pls coins'
|
||||
];
|
||||
|
||||
const inviteKeywords = [
|
||||
@ -181,7 +185,14 @@ client.on('messageCreate', async message => {
|
||||
'steps to redeem invite reward',
|
||||
'how to obtain invite reward',
|
||||
'invite',
|
||||
'claim reward'
|
||||
'claim reward',
|
||||
'plz reward',
|
||||
'ply invite reward',
|
||||
'reward get',
|
||||
'reward invite get',
|
||||
'invite get',
|
||||
'how reward',
|
||||
'how coins'
|
||||
];
|
||||
|
||||
const containsCoinsKeyword = coinsKeywords.some(keyword => userMessage.includes(keyword));
|
||||
|
Loading…
x
Reference in New Issue
Block a user