diff --git a/PluginManager/Interfaces/DBEvent.cs b/PluginManager/Interfaces/DBEvent.cs
index 0ab89ab..5458636 100644
--- a/PluginManager/Interfaces/DBEvent.cs
+++ b/PluginManager/Interfaces/DBEvent.cs
@@ -7,12 +7,12 @@ public interface DBEvent
///
/// The name of the event
///
- string name { get; }
+ string Name { get; }
///
/// The description of the event
///
- string description { get; }
+ string Description { get; }
///
/// The method that is invoked when the event is loaded into memory
diff --git a/PluginManager/Items/ConsoleCommandsHandler.cs b/PluginManager/Items/ConsoleCommandsHandler.cs
index 9ba8807..21aacb3 100644
--- a/PluginManager/Items/ConsoleCommandsHandler.cs
+++ b/PluginManager/Items/ConsoleCommandsHandler.cs
@@ -98,7 +98,9 @@ public class ConsoleCommandsHandler
else
{
Console.ForegroundColor = ConsoleColor.Red;
-
+ if (exception is null)
+ Console.WriteLine("An error occured while loading: " + name);
+ else
Console.WriteLine("[CMD] Failed to load command : " + name + " because " + exception!.Message);
}
diff --git a/PluginManager/Loaders/PluginLoader.cs b/PluginManager/Loaders/PluginLoader.cs
index a292f4a..d12c632 100644
--- a/PluginManager/Loaders/PluginLoader.cs
+++ b/PluginManager/Loaders/PluginLoader.cs
@@ -131,7 +131,7 @@ public class PluginLoader
if (e.IsLoaded)
((DBEvent)e.Plugin!).Start(_client);
- onEVELoad?.Invoke(((DBEvent)e.Plugin!).name, e.TypeName!, e.IsLoaded, e.Exception);
+ onEVELoad?.Invoke(((DBEvent)e.Plugin!).Name, e.TypeName!, e.IsLoaded, e.Exception);
}
catch (Exception ex)
{