Skip to main content

chatbot

This is an example of chatbot

INFO

Translations and localizations are coming soon. (Meaning native language support.)

With Customization

const simplydjs = require("simply-djs");

messageCreate Event

// messageCreate Event

simplydjs.chatbot(client, message, {
chid: "channel id",
name: "chatbot" // default: Your bot name
});
INFO

Without Customization

messageCreate Event

// messageCreate Event

simplydjs.chatbot(client, message, {
chid: "channel id"
});

Output

image

Options for chatbot function

OptionsTypeRequiredDefaultDescription
chidChannel IDโœ“noneChannel ID for the chatbot to talk
nameStringโœ˜your bot nameThe chatbot name
developerStringโœ˜Rahuletto#0243The Developer of the bot