update help command

Kaveen Kumarasinghe 2 years ago
parent 99c3926bf5
commit 463fa15d4f

@ -593,6 +593,16 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
embed = discord.Embed( embed = discord.Embed(
title="GPT3Bot Help", description="The current commands", color=0xC730C7 title="GPT3Bot Help", description="The current commands", color=0xC730C7
) )
embed.add_field(
name="/search",
value="AI-Assisted google search!",
inline=False,
)
embed.add_field(
name="/index",
value="Indexing commands for document knowledge and querying",
inline=False,
)
embed.add_field( embed.add_field(
name="/gpt ask", name="/gpt ask",
value="Ask GPT3 something. Be clear, long, and concise in your prompt. Don't waste tokens.", value="Ask GPT3 something. Be clear, long, and concise in your prompt. Don't waste tokens.",
@ -612,23 +622,23 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
inline=False, inline=False,
) )
embed.add_field( embed.add_field(
name="/system settings", name="/dalle draw <image prompt>",
value="Print the current settings of the model", value="Use DALL-E2 to draw an image based on a text prompt",
inline=False, inline=False,
) )
embed.add_field( embed.add_field(
name="/system settings <model parameter> <value>", name="/dalle optimize <image prompt>",
value="Change the parameter of the model named by <model parameter> to new value <value>", value="Optimize an image prompt for use with DALL-E2, Midjourney, SD, etc.",
inline=False, inline=False,
) )
embed.add_field( embed.add_field(
name="/dalle draw <image prompt>", name="/system settings",
value="Use DALL-E2 to draw an image based on a text prompt", value="Print the current settings of the model",
inline=False, inline=False,
) )
embed.add_field( embed.add_field(
name="/dalle optimize <image prompt>", name="/system settings <model parameter> <value>",
value="Optimize an image prompt for use with DALL-E2, Midjourney, SD, etc.", value="Change the parameter of the model named by <model parameter> to new value <value>",
inline=False, inline=False,
) )
embed.add_field( embed.add_field(
@ -636,9 +646,14 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
value="The automatic moderations service", value="The automatic moderations service",
inline=False, inline=False,
) )
embed.add_field(
name="/translate",
value="Translate from one language to another",
inline=False,
)
embed.add_field(name="/help", value="See this help text", inline=False) embed.add_field(name="/help", value="See this help text", inline=False)
await ctx.respond(embed=embed, ephemeral=True) await ctx.respond(embed=embed, ephemeral=False)
async def set_usage_command( async def set_usage_command(
self, ctx: discord.ApplicationContext, usage_amount: float self, ctx: discord.ApplicationContext, usage_amount: float

Loading…
Cancel
Save