artintel235 commited on
Commit
3338b5e
·
verified ·
1 Parent(s): f51f1c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -18,6 +18,12 @@ tree = app_commands.CommandTree(client)
18
  if not DISCORD_BOT_TOKEN or not GEMINI_API_KEY:
19
  raise ValueError("Both DISCORD_BOT_TOKEN and GEMINI_API_KEY must be set.")
20
 
 
 
 
 
 
 
21
 
22
  @tree.command(name="imagen3", description="Generates iamge(s) using imagen3 model")
23
  @app_commands.choices(
 
18
  if not DISCORD_BOT_TOKEN or not GEMINI_API_KEY:
19
  raise ValueError("Both DISCORD_BOT_TOKEN and GEMINI_API_KEY must be set.")
20
 
21
+ @tree.command(name="hello",description="says hello")
22
+ async def say_hello(
23
+ interaction:discord.Interaction,
24
+ input:input,
25
+ ):
26
+ await interaction.followup.send(content=f"Hello there, I'm imagen 3!")
27
 
28
  @tree.command(name="imagen3", description="Generates iamge(s) using imagen3 model")
29
  @app_commands.choices(