Skip to main content

chatbot

A chatbot system that is both technically advanced and intelligent, and is your buddy.

Program​

const simplydjs = require("simply-djs");
simplydjs.chatbot(client, message, { 
channelId: '01234567890123' // channelId (required)

// options (optional)
})
INFO

This should be implemented in the messageCreate event and requires a Message Intent !

client.on('messageCreate', (message) => {
simplydjs.chatbot() // chatbot function
})

Output​

image

Arguments:​

simplydjs.chatbot(
client: Discord.Client,
message: Discord.Message,
options: chatbotOptions
)

Options chatbotOptions​

ParameterTypeRequiredDefaultDescription
channelIdChannel ID✓noneChannel ID of a Discord TextChannel
toggleboolean❌trueEnable or Disable the chatbot for your preference.
namestring❌Simply-DJSName of the chatbot you are talking to.
developerstring❌Rahuletto#0243Name of the developer who maintains the chatbot.