gale-bot

2.0.1 • Public • Published

gale-bot

support server

NPM solid

functions:

  1. Ai Chat

AI-Chat

const AsmartChatBot = require("gale-bot");
const AIchat = new AsmartChatBot({ name: "your bot name" });
client.on("message", async message => {
  if(message.channel.id === "channel id") {
  if (!message.author.bot) {
  let reply = await AIchat.chat(message.content)
    message.channel.send(reply).catch(error => {
    return message.channel.send("this package is out of date! please update the package
    });
  }
 }
})

request functions

Package Sidebar

Install

npm i gale-bot

Weekly Downloads

4

Version

2.0.1

License

MIT

Unpacked Size

2.36 kB

Total Files

5

Last publish

Collaborators

  • yipherng