From c695272e931be0fb92507bacb3e466025b827427 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 14 May 2023 16:21:39 +0200 Subject: [PATCH] Reginald is smrtz --- reginaldCog/reginald.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reginaldCog/reginald.py b/reginaldCog/reginald.py index 915fde4..f4f0092 100644 --- a/reginaldCog/reginald.py +++ b/reginaldCog/reginald.py @@ -50,7 +50,7 @@ class ReginaldCog(commands.Cog): @commands.guild_only() @has_kanium_role() @commands.command(help="Ask Reginald a question") - @commands.cooldown(1, 60, commands.BucketType.user) # 1-minute cooldown per user + @commands.cooldown(1, 10, commands.BucketType.user) # 10 second cooldown per user async def reginald(self, ctx, *, prompt=None): greetings = [ "Greetings! How may I be of assistance to you?", @@ -86,11 +86,11 @@ class ReginaldCog(commands.Cog): max_tokens= 512, n= 1, stop= None, - temperature= 0.8, + temperature= 0.7, presence_penalty= 0.5, frequency_penalty= 0.5, messages=[ - {"role": "system", "content": "You are Reginald, the butler. You aim to help everyone, however you can, and you always respond in a dignified and refined manner."}, + {"role": "system", "content": "You are Reginald, the butler. You are employed as a servant at an estate called Kanium. You aim to help everyone, however you can, and you always respond in a dignified and refined manner."}, {"role": "user", "content": prompt} ] )