constAsmartChatBot=require("gale-bot");constAIchat=newAsmartChatBot({name: "your bot name"});client.on("message",asyncmessage=>{if(message.channel.id==="channel id"){if(!message.author.bot){letreply=awaitAIchat.chat(message.content)message.channel.send(reply).catch(error=>{returnmessage.channel.send("this package is out of date! please update the package
});
}
}
})