aboutsummaryrefslogtreecommitdiff
path: root/src/api/index.ts
diff options
context:
space:
mode:
authorCynthia Foxwell <gamers@riseup.net>2022-10-21 16:17:18 -0600
committerGitHub <noreply@github.com>2022-10-22 00:17:18 +0200
commite2b622c76bd3f25f674c4c3ff899bef756cdf6ca (patch)
treeeccb4c0dcb7cf54f3f66504e308a45b217f5aecf /src/api/index.ts
parent4b1e96b76ee4eea16fcb3b5cae74e173541b3c74 (diff)
downloadVencord-e2b622c76bd3f25f674c4c3ff899bef756cdf6ca.tar.gz
Vencord-e2b622c76bd3f25f674c4c3ff899bef756cdf6ca.tar.bz2
Vencord-e2b622c76bd3f25f674c4c3ff899bef756cdf6ca.zip
feat(api): Message Accessories API (#131)
Diffstat (limited to 'src/api/index.ts')
-rw-r--r--src/api/index.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/api/index.ts b/src/api/index.ts
index 2ee5883..a80ea3f 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -6,6 +6,7 @@ import * as $MessageEventsAPI from "./MessageEvents";
import * as $Notices from "./Notices";
import * as $Commands from "./Commands";
import * as $DataStore from "./DataStore";
+import * as $MessageAccessories from "./MessageAccessories";
/**
* An API allowing you to listen to Message Clicks or run your own logic
@@ -36,12 +37,11 @@ const Commands = $Commands;
*
* This is actually just idb-keyval, so if you're familiar with that, you're golden!
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm#supported_types}
-*/
+ */
const DataStore = $DataStore;
+/**
+ * An API allowing you to add custom components as message accessories
+ */
+const MessageAccessories = $MessageAccessories;
-export {
- DataStore,
- MessageEvents,
- Notices,
- Commands
-};
+export { DataStore, MessageAccessories, MessageEvents, Notices, Commands };