summaryrefslogtreecommitdiff
path: root/bigresult.py
diff options
context:
space:
mode:
authorJoshua Liu <joshua.liu@sourceobby.com>2025-11-26 23:17:56 -0500
committerJoshua Liu <joshua.liu@sourceobby.com>2025-11-30 11:33:32 -0500
commit8410e7b92891104f1460ead416a0e793c93ca738 (patch)
tree2cfeee3c3e698696bfa127924838884dc18b0a1c /bigresult.py
parent955c57b02b32b734338205152c062211a68dff4a (diff)
feat: wrote emojis module to make emoji access easier, and fixed up the indian scammer mode
# Conflicts: # bigresult.py
Diffstat (limited to 'bigresult.py')
-rw-r--r--bigresult.py22
1 files changed, 17 insertions, 5 deletions
diff --git a/bigresult.py b/bigresult.py
index 48b5c6b..d607e2e 100644
--- a/bigresult.py
+++ b/bigresult.py
@@ -9,10 +9,15 @@ from functools import partial, wraps
import re
import config.assets
from config.assets import ImageManager
+import config.mojis
+from config.mojis import BotMojis
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.*')
+INDIA = re.compile(r'gift ?card')
+
+BIG_BRAIN_MESSAGE = re.compile(r'(think)|(have an idea)|(theory)|(smart)|([1-9]*[0-9]{2} iq)')
class BigResultPlus(commands.Bot):
@@ -29,6 +34,9 @@ class BigResultPlus(commands.Bot):
"xyr0m": BigResultPlus.xyr0m
}
self.Imagemanager = ImageManager()
+ self.bot_emojis = BotMojis()
+ self.bot_emojis.init_emojis()
+ self.india_scammer_mode = False
# intents = discord.Intents.all()
# self.client = commands.Bot(intents=intents, command_prefix="!") # This represents our connection with Discord
@@ -110,7 +118,7 @@ class BigResultPlus(commands.Bot):
return
elif ("roblox" in fuckyou or "roblo" in fuckyou or "road blocks" in fuckyou):
- # await message.add_reaction(roblox)
+ await message.add_reaction(self.bot_emojis.get_emoji("roblos"))
await message.reply(
"life is roblox\nhttps://cdn.discordapp.com/attachments/890681829915508806/1066566357694562374/DJ_Khaled.mp4?ex=6728ee13&is=67279c93&hm=7a2c5e3c85d42ee07c420424fc26970f502e941f9d1c45324b42270184a17b65&")
return
@@ -119,9 +127,10 @@ class BigResultPlus(commands.Bot):
await message.reply("be a good kitten")
return
- elif ("gift card" in fuckyou):
+ elif INDIA.search(fuckyou):
await message.reply("DO NOT REDEEM! DO NOT REDEEM THE CARD!")
- self.state = 1
+ await message.add_reaction("🇮🇳")
+ self.india_scammer_mode = True
return
elif ("andrew tate" in fuckyou):
@@ -136,9 +145,9 @@ class BigResultPlus(commands.Bot):
if super().voice_clients is None:
return
- elif ("im gonna redeem" in fuckyou and self.state == 1):
+ elif ("im gonna redeem" in fuckyou and self.india_scammer_mode == True):
await message.reply("NOOOOOOOOOOOOO NO NO NOOOOOOOOOO!")
- self.state = 0
+ self.india_scammer_mode = False
return
elif ("president" in fuckyou or "trump" in fuckyou or "kamala" in fuckyou):
@@ -162,6 +171,9 @@ class BigResultPlus(commands.Bot):
await message.reply("yeah but in 5 minutes they won't be and you will still be retarded")
return
+ elif BIG_BRAIN_MESSAGE.search(fuckyou):
+ await message.add_reaction("<:a:1441912928730218606>")
+
await super().process_commands(message)
return