mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 06:42:51 +02:00
Add direct indicator to type yes/no in akinator
This commit is contained in:
@@ -103,7 +103,11 @@ module.exports = class AkinatorCommand extends Command {
|
|||||||
const embed = new MessageEmbed()
|
const embed = new MessageEmbed()
|
||||||
.setColor(0xF78B26)
|
.setColor(0xF78B26)
|
||||||
.setTitle(`I'm ${Math.round(guess.proba * 100)}% sure it's...`)
|
.setTitle(`I'm ${Math.round(guess.proba * 100)}% sure it's...`)
|
||||||
.setDescription(`${guess.name}${guess.description ? `\n_${guess.description}_` : ''}`)
|
.setDescription(stripIndents`
|
||||||
|
${guess.name}${guess.description ? `\n_${guess.description}_` : ''}
|
||||||
|
|
||||||
|
_**Type [y]es or [n]o to continue.**_
|
||||||
|
`)
|
||||||
.setThumbnail(guess.absolute_picture_path || null)
|
.setThumbnail(guess.absolute_picture_path || null)
|
||||||
.setFooter(forceGuess ? 'Final Guess' : `Guess ${timesGuessed}`);
|
.setFooter(forceGuess ? 'Final Guess' : `Guess ${timesGuessed}`);
|
||||||
await msg.embed(embed);
|
await msg.embed(embed);
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "119.24.0",
|
"version": "119.24.1",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user