mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-10 01:08:07 +01:00
Compare commits
No commits in common. "87ed81c98abfac26673bc41393611ee57944e041" and "9315765650f4fd92dcb6a8be894797d541ff736f" have entirely different histories.
87ed81c98a
...
9315765650
5 changed files with 7 additions and 12 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -10,17 +10,17 @@
|
|||
"format:apply": "prettier . --write"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bun-types": "^1.1.21",
|
||||
"bun-types": "^1.1.6",
|
||||
"prettier": "3.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lilybird/handlers": "^0.6.0-beta.15",
|
||||
"@lilybird/handlers": "^0.6.0-beta.11",
|
||||
"@lilybird/jsx": "0.3.0",
|
||||
"@lilybird/transformers": "^0.4.1",
|
||||
"@paperdave/logger": "^3.0.1",
|
||||
"@purplet/serialize": "^2.0.0",
|
||||
"@wolfram-alpha/wolfram-alpha-api": "^23.1004.144821-RELEASE",
|
||||
"algoliasearch": "^4.24.0",
|
||||
"algoliasearch": "^4.23.2",
|
||||
"bun-tracestrings": "github:oven-sh/bun.report",
|
||||
"gray-matter": "^4.0.3",
|
||||
"lilybird": "^0.7.3"
|
||||
|
|
|
@ -6,7 +6,6 @@ import {
|
|||
LILYBIRD_VERSION,
|
||||
LILYBIRD_HANDLERS_VERSION,
|
||||
LILYBIRD_JSX_VERSION,
|
||||
LILYBIRD_TRANSFORMERS_VERSION,
|
||||
} from "../constants.ts";
|
||||
|
||||
$applicationCommand({
|
||||
|
@ -21,9 +20,8 @@ $applicationCommand({
|
|||
`[Bun v${Bun.version} (${Bun.revision})](<https://github.com/oven-sh/bun/releases/tag/bun-v${Bun.version}>)`,
|
||||
"",
|
||||
`[Lilybird v${LILYBIRD_VERSION}](<https://npmjs.org/lilybird>)`,
|
||||
`[Lilybird Handlers v${LILYBIRD_HANDLERS_VERSION}](<https://npmjs.org/@lilybird/handlers>)`,
|
||||
`[Lilybird JSX v${LILYBIRD_JSX_VERSION}](<https://npmjs.org/@lilybird/jsx>)`,
|
||||
`[Lilybird Transformers v${LILYBIRD_TRANSFORMERS_VERSION}](<https://npmjs.org/@lilybird/transformers>)`,
|
||||
`[Lilybird Handlers v${LILYBIRD_HANDLERS_VERSION}](<https://npmjs.org/@lilybird/handlers>)`,
|
||||
].join("\n"),
|
||||
ephemeral: true,
|
||||
});
|
||||
|
|
|
@ -8,16 +8,12 @@ export const COMMIT_HASH = spawnSync({
|
|||
}).stdout.toString();
|
||||
|
||||
export const LILYBIRD_VERSION = sliceIfStartsWith(dependencies.lilybird, "^");
|
||||
export const LILYBIRD_HANDLERS_VERSION = sliceIfStartsWith(
|
||||
dependencies["@lilybird/handlers"],
|
||||
"^",
|
||||
);
|
||||
export const LILYBIRD_JSX_VERSION = sliceIfStartsWith(
|
||||
dependencies["@lilybird/jsx"],
|
||||
"^",
|
||||
);
|
||||
export const LILYBIRD_TRANSFORMERS_VERSION = sliceIfStartsWith(
|
||||
dependencies["@lilybird/transformers"],
|
||||
export const LILYBIRD_HANDLERS_VERSION = sliceIfStartsWith(
|
||||
dependencies["@lilybird/handlers"],
|
||||
"^",
|
||||
);
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ process.on("uncaughtException", console.error);
|
|||
|
||||
handler.cachePath = `${import.meta.dir}/lily-cache/handler`;
|
||||
|
||||
handler.addDebugListener(console.log);
|
||||
await handler.scanDir(`${import.meta.dir}/commands`);
|
||||
await handler.scanDir(`${import.meta.dir}/listeners`);
|
||||
|
||||
|
|
Loading…
Reference in a new issue