0.1.0 • Published 3 years ago

anojs v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Ano.js

A discord.js clone but more simple and have more features.

Example usage:

const Ano = require('ano.js')
var prefixx = db.get('prefix')


const client = new Ano.Bot({
    token: "ABCD (not a real token)",
    prefix: prefixx,
    owners: ["778370343261438052","724019967149867100"]
})

client.command({
    name: "botinfo",
    aliases: "info",
    owneronly: false,
    run {
    const embed_constructor = new Ano.Constructor()
    embed.title('Bot Info')
    embed.description('Hello, heres a little about me!')
    embed.field('Uptime:','${client.return.uptime.ms}', true)
    embed.field('My Tag and Username:','${client.return.usertag}', true)
    embed.footer('Thats it!')
    embed.color('#00FF00')
    message.send(embed_constructor)
    }
})


const db = new Ano.table({
    "prefix":"!"
})