Spaces:
Running
Running
Test
Browse files- 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 |
|