joytou commited on
Commit
3a3363c
·
1 Parent(s): b1d39f0

Fixed: Function has keyword-only parameters or annotations

Browse files
Files changed (1) hide show
  1. discord_bot.py +1 -1
discord_bot.py CHANGED
@@ -82,7 +82,7 @@ async def generateStatus(interaction: discord.Interaction, id: str):
82
  await interaction.followup.send(f'Position in queue: {details["queue_position"]}, wait time: {details["wait_time"]}s')
83
  """
84
 
85
- print(inspect.getargspec(app_commands.Command).args)
86
 
87
  async def hello():
88
  return f"Hello, {interaction.user.mention}!"
 
82
  await interaction.followup.send(f'Position in queue: {details["queue_position"]}, wait time: {details["wait_time"]}s')
83
  """
84
 
85
+ print(inspect.signature(app_commands.Command).parameters)
86
 
87
  async def hello():
88
  return f"Hello, {interaction.user.mention}!"