From 8408ddce01a725855de63c0390bfdfdb9308bbfe Mon Sep 17 00:00:00 2001 From: EmotionChild Date: Mon, 18 Apr 2022 22:58:25 +1200 Subject: [PATCH] Updated a file --- SupportChild/SupportChild.cs | 54 ++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 27 deletions(-) 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();