79510323

Date: 2025-03-14 22:18:10
Score: 1
Natty:
Report link

You need to have @addLogger after the @bot.tree.command() line. So the correct code would be

@bot.tree.command(name="list_cogs", description="list all cogs")
@addLogger
async def list_cogs(interaction):
    await interaction.response.send_message(f"{cogList}")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ryry013