From 476fddb02549bdd0bf3cd00060c120b3d923db9e Mon Sep 17 00:00:00 2001 From: Joshua Liu Date: Sun, 30 Nov 2025 11:29:23 -0500 Subject: feat: fixed a bug in assets.py and implemented the imagemanager in bigresult.py --- bigresult.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bigresult.py') diff --git a/bigresult.py b/bigresult.py index 7b59a75..48b5c6b 100644 --- a/bigresult.py +++ b/bigresult.py @@ -7,6 +7,8 @@ import time from functools import partial, wraps # from commands.funny import BigCommands import re +import config.assets +from config.assets import ImageManager ANGGY = re.compile(r'.*((are)|(is))(( so)|( really))? mad.*') ANGGY1 = re.compile(r'.*you are(( so)|( really))? mad.*') @@ -26,6 +28,7 @@ class BigResultPlus(commands.Bot): "ivotedfor": BigResultPlus.voot, "xyr0m": BigResultPlus.xyr0m } + self.Imagemanager = ImageManager() # intents = discord.Intents.all() # self.client = commands.Bot(intents=intents, command_prefix="!") # This represents our connection with Discord @@ -34,7 +37,7 @@ class BigResultPlus(commands.Bot): super().command(name=key)(wraps(self.COMMANDS[key])(partial(self.COMMANDS[key], self))) async def xyr0m(self, ctx): - await ctx.reply("RAID INITIATED BY XYR0M\nhttps://discord.gg/cocksuckersRus\nI am extremely homosexual") + await ctx.reply("RAID INITIATED BY XYR0M\nhttps://discord.gg/cocksuckersRus\nI am extremely homosexual", file=self.Imagemanager.get_image_fp("XYR0M")) pass -- cgit v1.2.3