Unblocked Proxy from reginald
This commit is contained in:
parent
3db30842dc
commit
9be68d4d11
@ -52,16 +52,13 @@ class ReginaldCog(commands.Cog):
|
|||||||
@commands.command(help="Ask Reginald a question")
|
@commands.command(help="Ask Reginald a question")
|
||||||
@commands.cooldown(1, 60, commands.BucketType.user) # 1-minute cooldown per user
|
@commands.cooldown(1, 60, commands.BucketType.user) # 1-minute cooldown per user
|
||||||
async def reginald(self, ctx, *, prompt=None):
|
async def reginald(self, ctx, *, prompt=None):
|
||||||
ignored_user_id = 138125632876838912
|
|
||||||
if ctx.author.id == ignored_user_id:
|
|
||||||
return
|
|
||||||
|
|
||||||
greetings = [
|
greetings = [
|
||||||
"Greetings! How may I be of assistance to you?",
|
"Greetings! How may I be of assistance to you?",
|
||||||
"Yes? How may I help?",
|
"Yes? How may I help?",
|
||||||
"Good day! How can I help you?",
|
"Good day! How can I help you?",
|
||||||
"You rang? What can I do for you?",
|
"You rang? What can I do for you?",
|
||||||
]
|
]
|
||||||
|
|
||||||
if prompt is None:
|
if prompt is None:
|
||||||
await ctx.send(random.choice(greetings))
|
await ctx.send(random.choice(greetings))
|
||||||
return
|
return
|
||||||
@ -121,9 +118,6 @@ class ReginaldCog(commands.Cog):
|
|||||||
@commands.command(help="Ask Reginald to generate an image based on a prompt")
|
@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
|
@commands.cooldown(1, 300, commands.BucketType.user) # 5-minute cooldown per user
|
||||||
async def reginaldimagine(self, ctx, *, prompt=None):
|
async def reginaldimagine(self, ctx, *, prompt=None):
|
||||||
ignored_user_id = 138125632876838912
|
|
||||||
if ctx.author.id == ignored_user_id:
|
|
||||||
return
|
|
||||||
|
|
||||||
if prompt is None:
|
if prompt is None:
|
||||||
await ctx.author.send("Please provide a prompt for the image.")
|
await ctx.author.send("Please provide a prompt for the image.")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user