Add "breaks" functionality to bot. #1

Merged
contrastellar merged 23 commits from gabby-dev into main 2025-10-17 17:53:55 +00:00
Showing only changes of commit 41f1160fc3 - Show all commits

View File

@@ -321,7 +321,7 @@ async def breaks(interaction: discord.Interaction, days: int = 365) -> None:
delete_invalidate() delete_invalidate()
cleanup_invalidate() cleanup_invalidate()
await interaction.response.defer(thinking=True) await interaction.response.defer(thinking=True)
await interaction.response.send_message(str(DATABASE_CONN.query_breaks())) await interaction.followup.send(str(DATABASE_CONN.query_breaks()))
@client.tree.command() @client.tree.command()