⚠ 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.
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);
}
});
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