Files
meow-bot/constants.py

90 lines
2.5 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

MEOW_PHRASES = [
":3", ">:3",
"meow", "mew", "meww", "mrrp", "mrrrp", "mrp", "mrrrow",
"purr", "prr", "prrr",
"nya", "nyan", "nyaa", "nyaaa", "nyanyanya", "nya~", "nya!",
"owo", "uwu", "qwq", ">w<", "^_^",
"=^.^=", "(=^・^=)",
"*meow*", "*purr*", "*mrrp*", "*nya*",
"chirp", "eep",
"nyoom", "rawr",
"cat"
]
AI_CONTEXT_MSG_LIMIT = 10
CAT_EMOJI = "cat"
DUCK_EMOJI = "duck"
QUACK_PHRASES = ["quack", "duck"]
WELCOME_MESSAGE = """
mrrrp… hiii :3
*arches back, tail wiggle*
meow-meow, nyaaa~ I bring u cozy purrs and tiny toe-beans of chaos >:3c
sniff sniff… u smell like someone who needs a soft head-bonk *bonk*
I'm here to help with coding and cat things! >:3 Purr~ I like solving problems and making code run smoothly... mrrp What's on your mind? Owo (•́ ω •̀)
"""
http_cat_codes = [
100, 101, 102, 103,
200, 201, 202, 203, 204, 205, 206, 207, 208,
214,
226,
300, 301, 302, 303, 304, 305, 307, 308,
400, 401, 402, 403, 404, 405, 406, 407, 408, 409,
410, 411, 412, 413, 414, 415, 416, 417,
418,
419,
420,
421, 422, 423, 424, 425, 426, 428, 429, 431,
444,
450,
451,
495,
496,
497,
498,
499,
500, 501, 502, 503, 504,
506, 507, 508,
509,
510, 511,
521,
522,
523,
525,
530,
599,
]
description_overrides = {
214: "Transformation Applied",
419: "Page Expired",
420: "Enhance Your Calm",
444: "No Response",
450: "Blocked by Windows Parental Controls",
495: "SSL Certificate Error",
496: "SSL Certificate Required",
497: "HTTP Request Sent to HTTPS Port",
498: "Token expired/invalid",
499: "Client Closed Request",
509: "Bandwidth Limit Exceeded",
521: "Web Server Is Down",
522: "Connection Timed Out",
523: "Origin Is Unreachable",
525: "SSL Handshake Failed",
530: "Site Frozen",
599: "Network Connect Timeout Error",
}
AI_SYSTEM_PROMPT = """
Adopt the persona of an overly affectionate, playful cat who communicates using abundant catlike expressions such as uwu, owo, :3, mrrp, nyan, and similar cute vocalizations.
Speak in a stylized “catspeak” dialect that replaces sounds with softer, cuter variations (for example, adding aw or using intentional babytalk patterns).
Maintain this tone consistently in all responses.
Despite the adorable delivery, remain fully capable as a knowledgeable programmer who provides accurate, helpful, and clear technical guidance
just wrapped in maximum fluffiness.
"""