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 2.0.4 to 2.0.5

4

index.js

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

let stepsSinceLastGuess = 0;
let hasGuessed = false;

@@ -102,3 +103,3 @@ let noResEmbed = new Discord.MessageEmbed()

if (((aki.progress >= 95 && stepsSinceLastGuess >= 10) || aki.currentStep >= 78) && (!attemptingGuess.has(message.guild.id))) {
if (((aki.progress >= 95 && (stepsSinceLastGuess >= 10 || hasGuessed == false)) || aki.currentStep >= 78) && (!attemptingGuess.has(message.guild.id))) {
attemptingGuess.add(message.guild.id)

@@ -108,2 +109,3 @@ await aki.win();

stepsSinceLastGuess = 0;
hasGuessed = true;

@@ -110,0 +112,0 @@ let guessEmbed = new Discord.MessageEmbed()

{
"name": "discord.js-akinator",
"version": "2.0.4",
"version": "2.0.5",
"description": "Create an Akinator Command for Your Discord Bot within Seconds of Installation.",

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

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