joytou commited on
Commit
657aec8
·
1 Parent(s): d5bac8e
Files changed (1) hide show
  1. discord_bot.py +1 -1
discord_bot.py CHANGED
@@ -148,7 +148,7 @@ for command in json_data["command"]:
148
  bot.tree.add_command(tree_command)
149
  """
150
 
151
- async def dynamic_command(interaction: discord.Interaction, **kwargs):
152
  print(kwargs)
153
  await interaction.followup.send("This is a test message, it send from dynamic_command.")
154
 
 
148
  bot.tree.add_command(tree_command)
149
  """
150
 
151
+ async def dynamic_command(self, interaction: discord.Interaction, **kwargs):
152
  print(kwargs)
153
  await interaction.followup.send("This is a test message, it send from dynamic_command.")
154