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