From 77ae3c5222739443d9e140e0bd216deb0899386e Mon Sep 17 00:00:00 2001 From: MapleLeaf <19603573+itsMapleLeaf@users.noreply.github.com> Date: Sun, 9 Jan 2022 01:30:50 -0600 Subject: [PATCH] add a stub guide for custom adapters --- packages/docs/src/guides/custom-adapters.md | 10 ++++++++++ packages/docs/src/guides/select-menu.md | 1 + 2 files changed, 11 insertions(+) create mode 100644 packages/docs/src/guides/custom-adapters.md diff --git a/packages/docs/src/guides/custom-adapters.md b/packages/docs/src/guides/custom-adapters.md new file mode 100644 index 0000000..41e5989 --- /dev/null +++ b/packages/docs/src/guides/custom-adapters.md @@ -0,0 +1,10 @@ +--- +title: Custom Adapters +description: Adapting Reacord to another Discord library +--- + +# Custom Adapters + +Reacord's core is built to be library agnostic, and can be adopted to libraries other than Discord.js. However, Discord.js is the only built-in adapter at the moment, and the adapter API is still a work in progress. + +If you're interested in creating a custom adapter, [see the code for the Discord.js adapter as an example](https://github.com/itsMapleLeaf/reacord/blob/main/packages/reacord/library/core/reacord-discord-js.ts). Feel free to [create an issue on GitHub](https://github.com/itsMapleLeaf/reacord/issues/new) if you run into issues. diff --git a/packages/docs/src/guides/select-menu.md b/packages/docs/src/guides/select-menu.md index 91e2420..2510b41 100644 --- a/packages/docs/src/guides/select-menu.md +++ b/packages/docs/src/guides/select-menu.md @@ -1,4 +1,5 @@ --- +order: 4 title: Select Menus description: Using select menu components ---