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
Options for chatbot function
Options | Type | Required | Default | Description |
---|---|---|---|---|
chid | Channel ID | โ | none | Channel ID for the chatbot to talk |
name | String | โ | your bot name | The chatbot name |
developer | String | โ | Rahuletto#0243 | The Developer of the bot |