artintel235 commited on
Commit
fc703b8
·
verified ·
1 Parent(s): 2e5687d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -110,6 +110,13 @@ async def generate_command(
110
  async def hello_command(interaction):
111
  await interaction.response.send_message("Hello there!")
112
 
 
 
 
 
 
 
 
113
  # --- Bot Initialization and Event Loop ---
114
  async def on_ready():
115
  await tree.sync()
 
110
  async def hello_command(interaction):
111
  await interaction.response.send_message("Hello there!")
112
 
113
+ @tree.command(name="testgen", description="Test command")
114
+ async def testgen_command(interaction: discord.Interaction):
115
+ print("TestGen command received")
116
+ await interaction.response.defer()
117
+ print("TestGen deferred")
118
+ await interaction.followup.send("TestGen working")
119
+
120
  # --- Bot Initialization and Event Loop ---
121
  async def on_ready():
122
  await tree.sync()