diff --git a/packages/poster/README.md b/packages/poster/README.md index aa5f446..68fc44f 100644 --- a/packages/poster/README.md +++ b/packages/poster/README.md @@ -6,7 +6,7 @@ REST API client for managing discord application commands. - Optionally typed responses - view an example (here)[../poster/test/spec.ts] - Typed options -- Simple! +- Simple! (sort of) - ClojureScript + Typescript - I'm sorry. @@ -24,8 +24,8 @@ console.log(await req.json()); ``` ## Mappings -This package is pretty simple. Create a new client and call one of the virtual routes -### virtual routes +This package is pretty simple. Create a new client and call one of the "endpoints" + | Endpoint | Method | Path | |------------------|--------|---------------------------------------------------- | @@ -42,3 +42,5 @@ This package is pretty simple. Create a new client and call one of the virtual r | guild/delete | DELETE | /applications/{application.id}/guilds/{guild.id}/commands/{command.id}| | guild/put | PUT | /applications/{application.id}/guilds/{guild.id}/commands| +Documentation for these routes are specified in the discord api documentation, +starting [here.](https://discord.com/developers/docs/interactions/application-commands#get-global-application-commands)