From ed0dc56d79a2f5309e08eb0ef6d8f4f37327a5ec Mon Sep 17 00:00:00 2001 From: Paillat Date: Mon, 28 Nov 2022 07:55:35 +0100 Subject: [PATCH] Update code.py --- code/code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/code.py b/code/code.py index 0e21529..72a4ee1 100644 --- a/code/code.py +++ b/code/code.py @@ -149,13 +149,13 @@ async def info(ctx): embed.add_field(name="Prompt Size", value=data[8], inline=False) embed.add_field(name="Uses Count Today", value=data[9], inline=False) await ctx.respond(embed=embed, ephemeral=True) -@bot.command(name="advanced help", description="Show the advanced settings meanings") +@bot.command(name="advanced_help", description="Show the advanced settings meanings") async def advanced_help(ctx): embed = discord.Embed(title="Advanced Help", description="Here is the advanced help page", color=0x00ff00) embed.add_field(name="max_tokens", value="The maximum number of tokens to generate. Higher values will result in more coherent text, but will take longer to complete. (default: 50)", inline=False) embed.add_field(name="temperature", value="The higher the temperature, the crazier the text (default: 0.9)", inline=False) embed.add_field(name="frequency_penalty", value="The higher the frequency penalty, the more new words the model will introduce (default: 0.0)", inline=False) - embed.add_field(name="presence_penalty", value="The higher the presence penalty, the more new words the model will introduce (default: 0.6)", inline=False) + embed.add_field(name="presence_penalty", value="The higher the presence penalty, the more new words the model will introduce (default: 0.0)", inline=False) embed.add_field(name="prompt_size", value="The number of messages to use as a prompt (default: 5)", inline=False) await ctx.respond(embed=embed, ephemeral=True) @bot.event