Update DiscordBotService.cs
This commit is contained in:
@@ -77,7 +77,7 @@ public class DiscordBotService
|
|||||||
|
|
||||||
var type = this.GetType();
|
var type = this.GetType();
|
||||||
var properties = type.GetProperties();
|
var properties = type.GetProperties();
|
||||||
Logger.Debug("Start Initializing Commands (1 Command/s)");
|
Logger.Debug("Start Initializing Commands");
|
||||||
foreach (var property in properties)
|
foreach (var property in properties)
|
||||||
{
|
{
|
||||||
if (property.PropertyType.IsSubclassOf(typeof(BaseModule)))
|
if (property.PropertyType.IsSubclassOf(typeof(BaseModule)))
|
||||||
|
|||||||
Reference in New Issue
Block a user