From 1f3606b891a2d494040981a3b3f16619a8aa7118 Mon Sep 17 00:00:00 2001 From: gsd Date: Fri, 3 Mar 2023 21:01:59 +0300 Subject: [PATCH] 3 sec response --- user_ext/profile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user_ext/profile.py b/user_ext/profile.py index 783308f..0cd913d 100644 --- a/user_ext/profile.py +++ b/user_ext/profile.py @@ -9,5 +9,6 @@ class Extension: profile: str = "" ): steam64 = await core.GetSteam64OfDiscord(interaction.user) + await interaction.response.defer(thinking=True) player = await core.GetPlayer(profile, steam64) if profile else await core.GetPlayer(steam64, steam64) - return await interaction.response.send_message(embed=player.embed, ephemeral=False) \ No newline at end of file + return await interaction.followup.send(embed=player.embed, ephemeral=False) \ No newline at end of file