From da07cb57a70bf6c1425b0c45333448ead9f89d26 Mon Sep 17 00:00:00 2001 From: minisbett <39670899+minisbett@users.noreply.github.com> Date: Mon, 1 Jan 2024 00:40:05 +0100 Subject: [PATCH] defer info command --- huisbot/Modules/Utility/Info.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/huisbot/Modules/Utility/Info.cs b/huisbot/Modules/Utility/Info.cs index 8666177..f8de64b 100644 --- a/huisbot/Modules/Utility/Info.cs +++ b/huisbot/Modules/Utility/Info.cs @@ -20,6 +20,8 @@ public InfoCommandModule(OsuApiService osu, HuisApiService huis) [SlashCommand("info", "Displays info about the bot.")] public async Task HandleAsync() { + await DeferAsync(); + // Return the info embed to the user. await RespondAsync(embed: Embeds.Info(await _osu.IsV1AvailableAsync(), await _osu.IsV2AvailableAsync(), await _huis.IsAvailableAsync())); }