Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Nov 10, 2024
1 parent d38f5cd commit f2667e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ async def gpt(ctx, prompt: discord.Option(str, description="Der Prompt"), url: d
if "A_KEY" in os.environ:
@bot.command(description="Hi by ZoeyVid! (claude-3-haiku) 0,25$/1,25$", contexts={discord.InteractionContextType.guild, discord.InteractionContextType.private_channel}, integration_types={discord.IntegrationType.guild_install, discord.IntegrationType.user_install})
@default_permissions(administrator=True)
async def haiku(ctx, prompt: discord.Option(str, description="Der Prompt"), image: discord.Option(discord.Attachment, required=False, description="Bild")):
async def haiku3(ctx, prompt: discord.Option(str, description="Der Prompt"), image: discord.Option(discord.Attachment, required=False, description="Bild")):
await ctx.defer()
print(prompt)
print("Hi by ZoeyVid! ^(claude-3-haiku) 0,25$/1,25$^")
Expand Down Expand Up @@ -301,7 +301,7 @@ async def haiku(ctx, prompt: discord.Option(str, description="Der Prompt"), imag
if "A_KEY" in os.environ:
@bot.command(description="Hi by ZoeyVid! (claude-3-5-haiku) 1$/5$", contexts={discord.InteractionContextType.guild, discord.InteractionContextType.private_channel}, integration_types={discord.IntegrationType.guild_install, discord.IntegrationType.user_install})
@default_permissions(administrator=True)
async def haiku(ctx, prompt: discord.Option(str, description="Der Prompt")):
async def haiku35(ctx, prompt: discord.Option(str, description="Der Prompt")):
await ctx.defer()
print(prompt)
print("Hi by ZoeyVid! ^(claude-3-5-haiku) 1$/5$^")
Expand Down

0 comments on commit f2667e1

Please sign in to comment.