build: bump @lilybird/handlers

This commit is contained in:
Jozef Steinhübl 2024-08-27 23:11:16 +02:00
parent ea4610b8e6
commit 828a6eeb35
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F
3 changed files with 4 additions and 2 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -14,7 +14,7 @@
"prettier": "3.3.3" "prettier": "3.3.3"
}, },
"dependencies": { "dependencies": {
"@lilybird/handlers": "^0.6.0-beta.15", "@lilybird/handlers": "^0.6.0-beta.18",
"@lilybird/jsx": "0.3.0", "@lilybird/jsx": "0.3.0",
"@lilybird/transformers": "^0.4.1", "@lilybird/transformers": "^0.4.1",
"@paperdave/logger": "^3.0.1", "@paperdave/logger": "^3.0.1",

View file

@ -6,7 +6,9 @@ const { interactionCreate, ...simpleTransformers } = defaultTransformers;
export type SimpleTransformers = typeof simpleTransformers; export type SimpleTransformers = typeof simpleTransformers;
export const transformers = 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 $applicationCommand = handler.storeCommand.bind(handler);
export const $listener = handler.storeListener.bind(handler); export const $listener = handler.storeListener.bind(handler);
export const $component = handler.buttonCollector.bind(handler); export const $component = handler.buttonCollector.bind(handler);