djsdocs-generator

1.1.0 • Public • Published

djsdocs-generator

Simple Discord.js docs wrapper

Methods

search(branch, query)
Params Type Optional Default
branch string x master
query string

Example

const { search } = require('djsdocs-generator');
async function main() {
    // default branch is master
    console.log(await search(undefined, 'client'));
}

main();

How to send the request in Discord.js?

const { search } = require('djsdocs-generator');
const body = await search(undefined, 'client')
<channel>.send({ embed: body });

Readme

Keywords

none

Package Sidebar

Install

npm i djsdocs-generator

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

4.53 kB

Total Files

8

Last publish

Collaborators

  • phamleduy04