2.0.9 • Published 4 years ago
betteroi v2.0.9
BETTEROI
AOI.JS Improved client.
const better = require("betteroi")
const client = new better.Bot({
token: "TOKEN", // Discord Bot Token
prefix: ["PREFIXES", "PREFIXES"] // Discord Bot Prefixes
})
client.onMessage() // Allows to execute Commands
client.command({
name: 'gstart',
code: `$startGiveaway[$ms[10s];1;Nitro Classic!;$channelID]`
})
client.command({
name: 'youtube-together',
code: `$sendMessage[Here you go: $together[youtube];no]`
})
GIVEAWAYS
Betteroi has giveaways functions!
$startGiveaway[time(MS);winners;prize;channelID]
$rerollGiveaway[id]
$endGiveaway[id]
$deleteGiveaway[id]
$giveawayExists[id]
$giveawaysList[guildID;message: {message} with prize: {prize}]
Aoi.js Credits : Leref, Ayaka, Ruben, Azusfin, Kino