From 50d77db17a629fb03d0ba844243c3880f2cd38f9 Mon Sep 17 00:00:00 2001 From: Nova Cat Date: Sun, 1 Dec 2024 14:03:41 -0800 Subject: [PATCH] emotion --- sweebot.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/sweebot.py b/sweebot.py index 8e1c299..291377e 100644 --- a/sweebot.py +++ b/sweebot.py @@ -6,7 +6,7 @@ from os import system as ossystem, path, environ, listdir, getcwd import sqlite3 cwd = getcwd() import re -from random import choice, randint as random +from random import choice, randint as random, randrange import traceback import threading from pathlib import Path @@ -194,6 +194,11 @@ irc.connect_irc( sbconfig = config() threes = [":3", ":3c", "uwu", "owo", "/ᐠ。ꞈ。ᐟ\\", "(✿◠‿◠)"] snacks = ["PepperMintHTMLs", "Dice App candies", "SweeCrypt codes", "Windows 11 Bloomberry flavored icecream"] +baps = ["T-T", "Ow!", "Beep!"] +pats = ["-w-", "Meep...", "Prr!"] +meows_happy = ['Meow!', 'Nyaa~', 'Mrow.', 'Prr! :3', "Mrrp?", "Mreow.", "!woeM", "3: !rrP", "~aayN", "Mew!", "Moew!"] +meows_upset = ['Hiss!', "!ssiH", "Grrr..."] +happiness = 5 run = 0 block = 0 global times @@ -426,7 +431,14 @@ while True: block+=1 run-=1 update() - + + elif command[0] == "$petpet" or command[0] == "$headpat": + happiness += 1 + multiline(choice(pats) + " (Emotion: Upset " + + ("#" * int(happiness)) + + ("-" * int(10-happiness)) + " Happy", + channel) + elif command[0] == "$shell": if perms == "full":