Skip to content

Commit

Permalink
Added new documentation (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: lavgup <[email protected]>
  • Loading branch information
Neppkun and lavgup authored Oct 20, 2021
1 parent 25562b9 commit 0d818f3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ const vacefron = new VACEFronJS();
})();
```

### Endpoints with more than one parameter
```js
const { VACEFronJS } = require('vacefron');
const vacefron = new VACEFronJS();

(async () => {
const buffer = await vacefron.npc('text1', 'text2');
console.log(buffer);
})();
```

### Discord
```js
const { Client, MessageAttachment } = require('discord.js');
Expand Down Expand Up @@ -57,4 +68,4 @@ client.login('token');
[Discord server](https://discord.gg/xJ2HRxZ)

## Contributing
Anyone can contribute! Please just make them merge-worthy changes.
Anyone can contribute! Please just make them merge-worthy changes.

0 comments on commit 0d818f3

Please sign in to comment.