Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

discord.js-akinator

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord.js-akinator - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

package.json
{
"name": "discord.js-akinator",
"version": "3.0.1",
"version": "3.0.2",
"description": "A Discord.js v13 Module that allows you to Create an Akinator Command for Your Discord Bot within Seconds of Installation.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -178,3 +178,3 @@ const Discord = require("discord.js");

.setTitle(`${await translate(`I'm ${Math.round(aki.progress)}% sure your character is...`, options.language)}`)
.setDescription(`**${await translate(aki.answers[0].name, options.language)}**\n${await translate(aki.answers[0].description, options.language)}\n\n${translations.isThisYourCharacter} ${!options.useButtons ? "**(Type Y/${translations.yes} or N/${translations.no})**" : ""}`)
.setDescription(`**${await translate(aki.answers[0].name, options.language)}**\n${await translate(aki.answers[0].description, options.language)}\n\n${translations.isThisYourCharacter} ${!options.useButtons ? `**(Type Y/${translations.yes} or N/${translations.no})**` : ""}`)
.addField(translations.ranking, `**#${aki.answers[0].ranking}**`, true)

@@ -224,6 +224,9 @@ .addField(translations.noOfQuestions, `**${aki.currentStep}**`, true)

.setColor("RANDOM")
await akiMessage.edit({ embeds: [finishedGameDefeated], components: [] })
if (options.useButtons) await response.update({ embeds: [finishedGameDefeated], components: [] })
else await akiMessage.edit({ embeds: [finishedGameDefeated], components: [] })
notFinished = false;
games.delete(message.author.id)
} else {
if (options.useButtons) await response.update({ embeds: [guessEmbed], components: [] })
else await akiMessage.edit({ embeds: [guessEmbed], components: [] })
aki.progress = 50

@@ -230,0 +233,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc