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
5 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.
, etc