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',
|
'strategies to collect coins',
|
||||||
'what are the techniques to get coins',
|
'what are the techniques to get coins',
|
||||||
'coins',
|
'coins',
|
||||||
'claim reward'
|
'claim reward',
|
||||||
|
'how coins',
|
||||||
|
'coins get',
|
||||||
|
'plz coins',
|
||||||
|
'pls coins'
|
||||||
];
|
];
|
||||||
|
|
||||||
const inviteKeywords = [
|
const inviteKeywords = [
|
||||||
@ -181,7 +185,14 @@ client.on('messageCreate', async message => {
|
|||||||
'steps to redeem invite reward',
|
'steps to redeem invite reward',
|
||||||
'how to obtain invite reward',
|
'how to obtain invite reward',
|
||||||
'invite',
|
'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));
|
const containsCoinsKeyword = coinsKeywords.some(keyword => userMessage.includes(keyword));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user