feat(api): Message Accessories API (#131)

This commit is contained in:
Cynthia Foxwell 2022-10-21 16:17:18 -06:00 committed by GitHub
parent 4b1e96b76e
commit e2b622c76b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 66 additions and 7 deletions

View file

@ -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 };