Skip to content

Commit

Permalink
Fix response for /command-stats
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjacksn committed Sep 28, 2024
1 parent 4347c21 commit 1b4d2c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wormgas/cogs/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ async def slash_command_stats(self, interaction: discord.Interaction):

results = self.bot.db.command_log_list()
message = ', '.join([f'{r['command']} ({r['usage_count']})' for r in results])
await interaction.response.send(message)
# noinspection PyUnresolvedReferences
await interaction.response.send_message(message)

@discord.ext.commands.command(name='set')
@discord.ext.commands.is_owner()
Expand Down

0 comments on commit 1b4d2c4

Please sign in to comment.