mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-29 14:11:02 +00:00
feat(bots): remove confidence field
This commit is contained in:
@@ -27,8 +27,6 @@ export default {
|
|||||||
if (!response.reply) return;
|
if (!response.reply) return;
|
||||||
|
|
||||||
const embed = response.reply;
|
const embed = response.reply;
|
||||||
embed.footer = { text: `Confidence: ${intent.confidence}` };
|
|
||||||
|
|
||||||
const feedbackRow = new ActionRowBuilder().addComponents(
|
const feedbackRow = new ActionRowBuilder().addComponents(
|
||||||
new ButtonBuilder()
|
new ButtonBuilder()
|
||||||
.setCustomId('fb-like')
|
.setCustomId('fb-like')
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ export default {
|
|||||||
// there won't be markdown support for now.
|
// there won't be markdown support for now.
|
||||||
bot.sendMessage(
|
bot.sendMessage(
|
||||||
ids[0],
|
ids[0],
|
||||||
`## ${response.reply.title}\n\n${response.reply.description}\n\n_Confidence: ${intent.confidence}_\n\nThis bot is currently being tested in production. Ignore it, if it's wrong.`,
|
`**${response.reply.title}**\n\n${response.reply.description}\n`,
|
||||||
{
|
{
|
||||||
message_thread_id: ids[1],
|
message_thread_id: ids[1],
|
||||||
reply_to_message_id: ids[2]
|
reply_to_message_id: ids[2]
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export default {
|
|||||||
// there won't be markdown support for now.
|
// there won't be markdown support for now.
|
||||||
bot.sendMessage(
|
bot.sendMessage(
|
||||||
ids[0],
|
ids[0],
|
||||||
`## ${ocrReply.reply.title}\n\n${ocrReply.reply.description}\n\nThis bot is currently being tested in production. Ignore it, if it's wrong.`,
|
`## ${ocrReply.reply.title}\n\n${ocrReply.reply.description}`,
|
||||||
{
|
{
|
||||||
message_thread_id: ids[1],
|
message_thread_id: ids[1],
|
||||||
reply_to_message_id: ids[2]
|
reply_to_message_id: ids[2]
|
||||||
|
|||||||
Reference in New Issue
Block a user