API Plugin Documentation is not up to date anymore
Hi :)
I just read in #@sapphire/plugin-api Methods Error that the plugin was reworked, could I request that the new usage is documented/adjusted in the guide? I am very confused on old vs new usage
8 Replies
Oh, yes
In the meantime, to get an idea, you can check this: https://github.com/skyra-project/skyra/tree/main/src/routes
thnk you :)
qq where do you define that this is a get request? does the path .get. have something to do with it?

or is this not even necessary
Yes it does, the
.get.
says which method to use :)
So you'll see .get.
, .post.
, etcUpdated the documentation to reflect the new API @chillihero https://github.com/sapphiredev/website/pull/293
I see the guides are missing quite a lot of content, I'll work on that after this PR :)
thank you!