mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-28 17:21:05 +01:00
build: bump @lilybird/handlers
This commit is contained in:
parent
ea4610b8e6
commit
828a6eeb35
3 changed files with 4 additions and 2 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -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",
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue