7.6.9 • Published 3 years ago
discord-god.js v7.6.9
Discord God
DiscordGod.js allows you to make a discord bot with very little skills needed!
We run similar to the app Bot Designer For Discord
Although, unlike them we are free!
Example ⛏
const dbd = require("discord-god.js")
const bot = new dbd.Bot({
token: "TOKEN",
prefix: "!"
})
bot.onMessage()
bot.command({
name: "ping",
code: `Pong!`
})
Using Variables ⚙️
It has to be in, your main index
bot.variables({
Name: "Value",
Name2: "Value2"
})
Using Callbacks 💡
It has to be in, your main index
bot.joinCommand({
channel: "CHANNEL ID",
code: `Welcome <@$authorID>`
})
bot.onJoined()
Using Custom Bot Status 📌
It has to be in, your main index
bot.status({
text: "Your Text",
type: "PLAYING",
time: 12
})