SinisterRectus / Discordia

Discord API library written in Lua for the Luvit runtime environment
MIT License
697 stars 143 forks source link

doc-comment: fix some equivalent methods optional param #354

Closed Bilal2453 closed 2 years ago

Bilal2453 commented 2 years ago

I've noticed many of the methods that are documented to be an "Equivalent" of another method imply the parameters are required, when they are not. At first I thought that was intentional, but looking at the other methods that are "equivalent" they do document that (e.x. Reaction:delete), therefor and to be consistant the rest of those methods should follow that trend.

It also helps with the tools that relay on the doc-comment, such as discordia-types and discordia-wiki-bot.

Bilal2453 commented 2 years ago

Note that this may conflict with my recent PRs. I will rebase the PR if that happen.