Updated a file

This commit is contained in:
EmotionChild 2022-04-18 22:58:25 +12:00
parent f3782e68f3
commit 8408ddce01
No known key found for this signature in database
GPG key ID: 23DC06AC32786520

View file

@ -126,35 +126,35 @@ namespace SupportChild
StringPrefixes = new[] { Config.prefix } StringPrefixes = new[] { Config.prefix }
}); });
commands.RegisterCommands<AddCommand>(); this.commands.RegisterCommands<AddCommand>();
commands.RegisterCommands<AddMessageCommand>(); this.commands.RegisterCommands<AddMessageCommand>();
commands.RegisterCommands<AddStaffCommand>(); this.commands.RegisterCommands<AddStaffCommand>();
commands.RegisterCommands<AssignCommand>(); this.commands.RegisterCommands<AssignCommand>();
commands.RegisterCommands<BlacklistCommand>(); this.commands.RegisterCommands<BlacklistCommand>();
commands.RegisterCommands<CloseCommand>(); this.commands.RegisterCommands<CloseCommand>();
commands.RegisterCommands<ListAssignedCommand>(); this.commands.RegisterCommands<ListAssignedCommand>();
commands.RegisterCommands<ListCommand>(); this.commands.RegisterCommands<ListCommand>();
commands.RegisterCommands<ListOldestCommand>(); this.commands.RegisterCommands<ListOldestCommand>();
commands.RegisterCommands<ListUnassignedCommand>(); this.commands.RegisterCommands<ListUnassignedCommand>();
commands.RegisterCommands<MoveCommand>(); this.commands.RegisterCommands<MoveCommand>();
commands.RegisterCommands<NewCommand>(); this.commands.RegisterCommands<NewCommand>();
commands.RegisterCommands<RandomAssignCommand>(); this.commands.RegisterCommands<RandomAssignCommand>();
commands.RegisterCommands<ReloadCommand>(); this.commands.RegisterCommands<ReloadCommand>();
commands.RegisterCommands<RemoveMessageCommand>(); this.commands.RegisterCommands<RemoveMessageCommand>();
commands.RegisterCommands<RemoveStaffCommand>(); this.commands.RegisterCommands<RemoveStaffCommand>();
commands.RegisterCommands<SayCommand>(); this.commands.RegisterCommands<SayCommand>();
commands.RegisterCommands<SetSummaryCommand>(); this.commands.RegisterCommands<SetSummaryCommand>();
commands.RegisterCommands<SetTicketCommand>(); this.commands.RegisterCommands<SetTicketCommand>();
commands.RegisterCommands<StatusCommand>(); this.commands.RegisterCommands<StatusCommand>();
commands.RegisterCommands<SummaryCommand>(); this.commands.RegisterCommands<SummaryCommand>();
commands.RegisterCommands<ToggleActiveCommand>(); this.commands.RegisterCommands<ToggleActiveCommand>();
commands.RegisterCommands<TranscriptCommand>(); this.commands.RegisterCommands<TranscriptCommand>();
commands.RegisterCommands<UnassignCommand>(); this.commands.RegisterCommands<UnassignCommand>();
commands.RegisterCommands<UnblacklistCommand>(); this.commands.RegisterCommands<UnblacklistCommand>();
commands.RegisterCommands<UnsetTicketCommand>(); this.commands.RegisterCommands<UnsetTicketCommand>();
Console.WriteLine("Hooking command events..."); Console.WriteLine("Hooking command events...");
commands.CommandErrored += eventHandler.OnCommandError; this.commands.CommandErrored += eventHandler.OnCommandError;
Console.WriteLine("Connecting to Discord..."); Console.WriteLine("Connecting to Discord...");
await discordClient.ConnectAsync(); await discordClient.ConnectAsync();