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:
parent
cb6ed1297e
commit
09792a44ce
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue