1.0.0 • Published 3 years ago

discord-tr-akinator v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Install Package

npm i discord-tr-akinator

Example Code

const Discord = require("discord.js");
const akinator = require("discord-tr-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.login("Discord Bot Token")