diff --git a/bun.lockb b/bun.lockb index 3e000b6..e777351 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index a701546..7d8da57 100644 --- a/package.json +++ b/package.json @@ -11,12 +11,13 @@ "bun-types": "^1.0.22" }, "dependencies": { - "@lilybird/handlers": "^0.2.2", + "@lilybird/handlers": "^0.3.1", "@lilybird/jsx": "^0.2.0", "@paperdave/logger": "^3.0.1", "algoliasearch": "^4.22.1", + "chrono-node": "^2.7.4", "gray-matter": "^4.0.3", - "lilybird": "^0.4.4", + "lilybird": "^0.5.1", "zlib-sync": "^0.1.9" } } diff --git a/src/commands/github.tsx b/src/commands/github.tsx index eaf24e0..2a7acd1 100644 --- a/src/commands/github.tsx +++ b/src/commands/github.tsx @@ -113,7 +113,7 @@ export default { const response = await search(query, state, type, 25); await silently( - interaction.respond( + interaction.showChoices( response.map((r) => ({ name: safeSlice( `${r.emoji.type} ${r.emoji.state} #${r.number} | ${r.title}`, diff --git a/src/listeners/message_update.ts b/src/listeners/message_update.ts index a2ea8f8..1fe355b 100644 --- a/src/listeners/message_update.ts +++ b/src/listeners/message_update.ts @@ -1,6 +1,6 @@ import { Event } from "@lilybird/handlers"; import { PartialMessage } from "lilybird"; -import { getRandomBunEmoji, isBunOnlyLikeMessage } from "src/util.ts"; +import { isBunOnlyLikeMessage } from "src/util.ts"; export default { event: "messageUpdate",