From 9be68d4d11b4348abcfe8885f247d32e5d7034b3 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 18 Mar 2023 14:47:01 +0100 Subject: [PATCH] Unblocked Proxy from reginald --- reginaldCog/reginald.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/reginaldCog/reginald.py b/reginaldCog/reginald.py index 54b4524..d658e06 100644 --- a/reginaldCog/reginald.py +++ b/reginaldCog/reginald.py @@ -52,16 +52,13 @@ class ReginaldCog(commands.Cog): @commands.command(help="Ask Reginald a question") @commands.cooldown(1, 60, commands.BucketType.user) # 1-minute cooldown per user async def reginald(self, ctx, *, prompt=None): - ignored_user_id = 138125632876838912 - if ctx.author.id == ignored_user_id: - return - greetings = [ "Greetings! How may I be of assistance to you?", "Yes? How may I help?", "Good day! How can I help you?", "You rang? What can I do for you?", ] + if prompt is None: await ctx.send(random.choice(greetings)) return @@ -121,9 +118,6 @@ class ReginaldCog(commands.Cog): @commands.command(help="Ask Reginald to generate an image based on a prompt") @commands.cooldown(1, 300, commands.BucketType.user) # 5-minute cooldown per user async def reginaldimagine(self, ctx, *, prompt=None): - ignored_user_id = 138125632876838912 - if ctx.author.id == ignored_user_id: - return if prompt is None: await ctx.author.send("Please provide a prompt for the image.")