diff --git a/SupportChild/SupportChild.cs b/SupportChild/SupportChild.cs index 2cb42b3..806630e 100644 --- a/SupportChild/SupportChild.cs +++ b/SupportChild/SupportChild.cs @@ -126,35 +126,35 @@ namespace SupportChild StringPrefixes = new[] { Config.prefix } }); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); - commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); + this.commands.RegisterCommands(); Console.WriteLine("Hooking command events..."); - commands.CommandErrored += eventHandler.OnCommandError; + this.commands.CommandErrored += eventHandler.OnCommandError; Console.WriteLine("Connecting to Discord..."); await discordClient.ConnectAsync();