1
0
forked from sass/tipibot

Fix shop interation

This commit is contained in:
Rene Arumetsa
2026-05-19 18:37:42 +03:00
parent 8d7ac504ca
commit b83b347d6a
2 changed files with 27 additions and 21 deletions

View File

@@ -822,8 +822,9 @@ def register_economy_extra_commands(
async def callback(interaction: discord.Interaction):
self._tier = tier
self._update_buttons()
await interaction.response.defer(edit_message=True)
self._user_data = await economy.get_user(interaction.user.id)
await interaction.response.edit_message(
await interaction.edit_original_response(
embed=_shop_embed(self._tier, self._user_data),
view=self,
)