mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 15:57:43 +02:00
Add Description
This commit is contained in:
@@ -43,7 +43,10 @@ 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)
|
.setDescription(stripIndents`
|
||||||
|
${guess.name}
|
||||||
|
_${guess.description}_
|
||||||
|
`)
|
||||||
.setThumbnail(guess.absolute_picture_path);
|
.setThumbnail(guess.absolute_picture_path);
|
||||||
await msg.embed(embed);
|
await msg.embed(embed);
|
||||||
const msgs = await msg.channel.awaitMessages(res => res.author.id === msg.author.id, {
|
const msgs = await msg.channel.awaitMessages(res => res.author.id === msg.author.id, {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "41.1.2",
|
"version": "41.1.3",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Shard.js",
|
"main": "Shard.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user