Fixed confidence rate for invites
This commit is contained in:
parent
ed271d56fd
commit
0d77cc0dc7
2
index.js
2
index.js
@ -160,7 +160,7 @@ client.on('messageCreate', message => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
message.reply({ embeds: [embed], components: [row] });
|
message.reply({ embeds: [embed], components: [row] });
|
||||||
} else if (classifications[0].label === 'invite' && confidence > 0.02 && confidence < 0.1 && userMessage !== "invite") {
|
} else if (classifications[0].label === 'invite' && confidence > 0.02 && confidence < 0.2 && userMessage !== "invite") {
|
||||||
const embed = new EmbedBuilder()
|
const embed = new EmbedBuilder()
|
||||||
.setTitle('How to Claim Invite Reward')
|
.setTitle('How to Claim Invite Reward')
|
||||||
.setDescription(`Here are some tips on how to claim invite reward...\nConfidence: ${confidence}`)
|
.setDescription(`Here are some tips on how to claim invite reward...\nConfidence: ${confidence}`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user