diff options
| author | Joshua Liu <joshua.liu@sourceobby.com> | 2025-11-25 22:38:43 -0500 |
|---|---|---|
| committer | Joshua Liu <joshua.liu@sourceobby.com> | 2025-11-25 22:38:43 -0500 |
| commit | 9596ce76a5a7b0ee75da39b6d2e260d91d22a995 (patch) | |
| tree | f763721bc1d8877d7d266461a529b6142e857a80 /bigresult.py | |
| parent | 41b08b271ae1250d4f0a3105ee0b9d8f3491513f (diff) | |
feat: added a new response as a snarky reply
Diffstat (limited to 'bigresult.py')
| -rw-r--r-- | bigresult.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bigresult.py b/bigresult.py index c1116cc..a1af3a8 100644 --- a/bigresult.py +++ b/bigresult.py @@ -6,6 +6,11 @@ import threading import time from functools import partial, wraps # from commands.funny import BigCommands +import re + +ANGGY = re.compile(r'.*((are)|(is))(( so)|( really))? mad.*') +ANGGY1 = re.compile(r'.*you are(( so)|( really))? mad.*') +ANGGY2 = re.compile(r'.*((they are)|((he)|(she) is))(( so)|( really))? mad.*') class BigResultPlus(commands.Bot): @@ -139,6 +144,16 @@ class BigResultPlus(commands.Bot): await message.reply("why do you ask?") return + elif ANGGY.search(fuckyou): + if random.randint(1,4) != 2: + return + print("gra") + if ANGGY1.search(fuckyou): + await message.reply("yeah but in 5 minutes I won't be and you will still be retarded") + elif ANGGY2.search(fuckyou): + await message.reply("yeah but in 5 minutes they won't be and you will still be retarded") + return + await super().process_commands(message) return |
