Bugfix: Change interaction to followup for breaks() in bot_core
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user