diff --git a/Commands/InteractionServiceHandler.cs b/Commands/InteractionServiceHandler.cs index dc9afd2..00ae7a2 100644 --- a/Commands/InteractionServiceHandler.cs +++ b/Commands/InteractionServiceHandler.cs @@ -12,7 +12,6 @@ public class InteractionServiceHandler /// /// Initialize the InteractionService /// - /// True if success, false if failure public static async Task InitAsync() { try @@ -36,7 +35,7 @@ public static async Task RegisterModulesAsync() if (_interactionService == null) { await Program.LogAsync("InteractionServiceManager.RegisterModulesAsync()", "InteractionService not initialized yet", LogSeverity.Error); - throw new Exception("InteractionService not initialized while trying to register commands"); + throw new InvalidOperationException("InteractionService not initialized while trying to register commands"); } try