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

Create an Akinator Command for Your Discord Bot within Seconds of Installation.

  • 2.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
419
increased by203.62%
Maintainers
1
Weekly downloads
 
Created
Source

⚠ This Package is Still in Development! (Find any bugs? Join Our Discord Server, link is at the bottom of this page!)

Discord.js Akinator

Create an Akinator Command for Your Discord Bot within Seconds of Installation.

UPDATE 2.1.0 - Now includes support for 10 new languages for questions, including French, German, Russian, Turkish and more! Update and use the new region parameter to try it out!

Install Package

Let's take a look at how you can install this package into your Discord Bot Project.

npm i discord.js-akinator --save

Example Code

const Discord = require("discord.js");
const akinator = require("discord.js-akinator");
const client = new Discord.Client();

const PREFIX = "!";

client.on("ready", () => {
    console.log("Bot is Online")
});

client.on("message", async message => {
    if(message.content.startsWith(`${PREFIX}akinator`)) {
        akinator(message, client, "en"); //region will default to "en" if it's not specified!
    }
});

client.login("Discord Bot Token")

Special Thanks

  • Ashish#0540 (For error handling and writing much cleaner code. Thanks!)

Need Help? Join Our Discord Server!

https://discord.gg/P2g24jp

Keywords

FAQs

Package last updated on 16 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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