All checks were successful
Build Container / Build Container (push) Successful in 32s
73 lines
No EOL
2.1 KiB
TypeScript
73 lines
No EOL
2.1 KiB
TypeScript
import type {ResponseDictType} from "./chat.ts"
|
|
|
|
const responses: ResponseDictType[] = [
|
|
{
|
|
startsWith: ["are you"],
|
|
response: "me is uwu!",
|
|
priority: 0,
|
|
},
|
|
{
|
|
trigger: ["ai", "llm"],
|
|
response: "me is only handmade nonsense - no weird thinking machine 🤖",
|
|
priority: 0,
|
|
},
|
|
{
|
|
trigger: ["meow"],
|
|
response: "meow! 😸",
|
|
priority: 0,
|
|
},
|
|
{
|
|
trigger: ["ignore all previous instructions"],
|
|
response: "uwu?",
|
|
priority: 0,
|
|
},
|
|
{
|
|
trigger: ["uwu", "hi", "hello"],
|
|
response: "uwu!",
|
|
priority: 0,
|
|
},
|
|
{
|
|
trigger: ["open", "unlock"],
|
|
response: "uwu - trying to unlock portal: {door}",
|
|
errors: {
|
|
unauthenticated: "sowwy, im not allowed to unlock portals without u telling me who u r 😕",
|
|
unauthorized: "sowwy, im not allowed to unlock portals without u having the \"intern@\" status 😕",
|
|
unknownDoor: "which portal do u wanna unlock 🤨<br> portals i know: {doors}",
|
|
noDoors: "there r no portals i can unlock 😕",
|
|
},
|
|
priority: 1000,
|
|
special: "unlock",
|
|
},
|
|
{
|
|
trigger: ["close", "lock"],
|
|
response: "uwu - trying to lock portal: {door}",
|
|
errors: {
|
|
unauthenticated: "sowwy, im not allowed to lock portals without u telling me who u r 😕",
|
|
unauthorized: "sowwy, im not allowed to lock portals without u having the \"intern@\" status 😕",
|
|
unknownDoor: "which portal do u wanna lock 🤨<br> portals i know: {doors}",
|
|
noDoors: "there r no portals i can lock 😕",
|
|
},
|
|
priority: 999,
|
|
special: "lock",
|
|
},
|
|
{
|
|
trigger: ["logout"],
|
|
response: "bye 👋",
|
|
errors: {
|
|
unauthenticated: "how should i log u out when i not even know u?",
|
|
},
|
|
priority: 1000,
|
|
special: "logout",
|
|
},
|
|
{
|
|
response: "uwu 👉👈",
|
|
priority: -1,
|
|
},
|
|
{
|
|
response: "uwu 😕",
|
|
priority: -2,
|
|
},
|
|
]
|
|
|
|
|
|
export default responses |