akari.js
v1.0.8
Published
This is a **super lightweight** module free discord webhook manager that uses a modified (and smaller) version of @PassTheWessel 's wumpfetch!
Downloads
35
Readme
Akari.js
This is a super lightweight module free discord webhook manager that uses a modified (and smaller) version of @PassTheWessel 's wumpfetch!
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!