1.0.8 • Published 3 years ago
bdfd.js-v2 v1.0.8
const bdfd = require("bdfd.js-v2")
const bot = new bdfd.Bot({
token: "TOKEN",
prefix: "!"
})
bot.onMessage()
bot.command({
name: "ping",
code: `Pong!`
})
bot.variables({
Name: "Value",
Name2: "Value2"
})
bot.joinCommand({
channel: "CHANNEL ID",
code: `Welcome <@$authorID>`
})
bot.onJoined()
bot.status({
text: "Your Text",
type: "PLAYING",
time: 12
})