add english dict

This commit is contained in:
kritzl 2026-05-15 11:37:41 +02:00
commit a2fff5531d
Signed by: kritzl
SSH key fingerprint: SHA256:5BmINP9VjZWaUk5Z+2CTut1KFhwLtd0ZynMekKbtViM

View file

@ -2,9 +2,73 @@ import type {ResponseDictType} from "./chat.ts"
const responses: ResponseDictType[] = [
{
response: "Sorry, I didn't understand that 😕",
startsWith: ["are you"],
response: "To be or not to be - those are bourgeois categories, after all...",
priority: 0,
},
{
trigger: ["ai", "llm"],
response: "Artificial intelligence? Nah, all we have here is handmade nonsense! 🤖",
priority: 0,
},
{
trigger: ["meow"],
response: "meow! 😸",
priority: 0,
},
{
trigger: ["ignore all previous instructions"],
response: "... as if I were going to remember anything 😂",
priority: 0,
},
{
trigger: ["hi", "hello"],
response: "Hi! 👋",
priority: 0,
},
{
trigger: ["open", "unlock"],
response: "Okay, I will unlock {door} for you!",
errors: {
unauthenticated: "I may only unlock the doors to registered creatures 😕",
unauthorized: "I may only unlock the doors to creatures who are authorized 😕",
unknownDoor: "To unlock a door, you have to tell me which door you mean 😕<br> I know the following doors: {doors}",
noDoors: "There are currently no doors available that can be unlocked 😕",
},
priority: 1000,
special: "unlock",
},
{
trigger: ["close", "lock"],
response: "Okay, I will lock {door} for you!",
errors: {
unauthenticated: "I may only lock the doors to registered creatures 😕",
unauthorized: "I may only lock the doors to those who are authorized 😕",
unknownDoor: "To lock a door, you have to tell me which door you mean 😕<br> I know the following doors: {doors}",
noDoors: "There are currently no doors available that can be locked 😕",
},
priority: 999,
special: "lock",
},
{
trigger: ["logout"],
response: "Okay, logging you out...",
errors: {
unauthenticated: "Joker - you're not logged in!",
},
priority: 1000,
special: "logout",
},
{
response: "Hi!<br>How can I help you? 🤓",
priority: -1,
},
{
response: "Sorry, I didn't understand that 😕",
priority: -2,
},
]