Skip to content

Commit

Permalink
build: bump @lilybird/handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Aug 27, 2024
1 parent ea4610b commit 828a6ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prettier": "3.3.3"
},
"dependencies": {
"@lilybird/handlers": "^0.6.0-beta.15",
"@lilybird/handlers": "^0.6.0-beta.18",
"@lilybird/jsx": "0.3.0",
"@lilybird/transformers": "^0.4.1",
"@paperdave/logger": "^3.0.1",
Expand Down
4 changes: 3 additions & 1 deletion src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ const { interactionCreate, ...simpleTransformers } = defaultTransformers;
export type SimpleTransformers = typeof simpleTransformers;
export const transformers = simpleTransformers;

export const handler = new Handler<SimpleTransformers>({});
export const handler = new Handler<SimpleTransformers, true>({
transformers: defaultTransformers,
});
export const $applicationCommand = handler.storeCommand.bind(handler);
export const $listener = handler.storeListener.bind(handler);
export const $component = handler.buttonCollector.bind(handler);

0 comments on commit 828a6ee

Please sign in to comment.