diff --git a/src/Octobot.cs b/src/Octobot.cs
index 063bd14..3049602 100644
--- a/src/Octobot.cs
+++ b/src/Octobot.cs
@@ -20,6 +20,11 @@ using Remora.Rest.Core;
using Serilog.Extensions.Logging;
namespace Octobot;
+// TODO: better organizing of interaction checks (and other related chains of method calls)
+// TODO: avoid nesting as much as possible (like embed sending :/)
+// TODO: remove stuff that doesn't need to be profiled
+// if it needs to be profiled, try to put it inside of 'if' blocks so it doesn't appear all the time
+// (so we know e.g. if a feature is active or not)
public sealed class Octobot
{
diff --git a/src/Services/Profiler/Profiler.cs b/src/Services/Profiler/Profiler.cs
index 2cd4dd8..0047493 100644
--- a/src/Services/Profiler/Profiler.cs
+++ b/src/Services/Profiler/Profiler.cs
@@ -58,6 +58,7 @@ public sealed class Profiler
/// The original result.
public Result PopWithResult(Result result)
{
+ Debug.Assert(result.IsSuccess);
Pop();
return result;
}
@@ -115,6 +116,7 @@ public sealed class Profiler
/// The original result.
public Result ReportWithResult(Result result)
{
+ Debug.Assert(result.IsSuccess);
PopAndReport();
return result;
}