1.0.8 • Published 5 years ago

akari.js v1.0.8

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

Akari.js

This is a super lightweight module free discord webhook manager that uses a modified (and smaller) version of @PassTheWessel 's wumpfetch!

install size

Example

const Akari = require('akari.js')

const webhook = new Akari(id, token);

webhook.send({content: 'Hi!'})
webhook.info()
    .then( info => {
        webhook.send({content: `name: ${info.name}`})
    })
webhook.edit({name: 'Heya!'})

Docs

Akari

new Akari(id, token)

This class defines a webhook istance, you can create way more for the memes

Methods

.send(content)

It sends content, to see how the content object should be organised go here. It returns a promise

.delete()

It deletes the webhook. It also returns a promise

.info()

This returns a promise with all the useful info about the webhook.

.edit(changes)

It edits the possible info about the webhook, go here to see what are the possible changes.

For making your life easier other optional modules are coming soon!

1.0.8

5 years ago

1.0.7-b

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago