1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

Add lost "main" in "list_settings_command"

Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
Macintxsh 2024-01-28 16:18:47 +03:00
parent cb6ed1297e
commit 09792a44ce
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1

View file

@ -119,6 +119,7 @@ public class SettingsCommandGroup : CommandGroup
private Task<Result> SendSettingsListAsync(JsonNode cfg, IUser bot, int page,
CancellationToken ct = default)
{
_profiler.Push("main");
var description = new StringBuilder();
var footer = new StringBuilder();
@ -164,6 +165,7 @@ public class SettingsCommandGroup : CommandGroup
.WithFooter(footer.ToString())
.Build();
_profiler.Pop();
return _profiler.PopWithResult(_feedback.SendContextualEmbedResultAsync(embed, ct: ct));
}