zaida04 / guilded.js

A library for creating bots with the guilded.gg bot API.
https://guilded.js.org
MIT License
67 stars 15 forks source link

Optional parameters are displayed as required parameters. #206

Closed AusKarlos87 closed 1 year ago

AusKarlos87 commented 1 year ago

Describe the bug A QoL bug fix. Many of the methods used throughout the GlobalManagers have optional parameters for exampleclient.members.fetch(serverId: string, memberId: string, force?: boolean). Within the docs it makes it look like the force parameter is required.

Go to https://guilded.js.org/docs/guilded.js/GlobalMemberManager#fetch

Expected behavior Clearly defined optional parameters

zaida04 commented 1 year ago

I've temporarily shelved the custom docs until we have someone that can work on making them more stable.