From c2271ff6e25ab5413b2d483cba72d93931ddbad6 Mon Sep 17 00:00:00 2001 From: Tim Watkins Date: Mon, 25 Jul 2016 08:59:40 -0600 Subject: [PATCH] Changed CommandServiceConfig constructor to public Changed CommandServiceConfig constructor to public, so that it can be instantiated by projects implementing the library... so that commands can be registered. --- src/Discord.Net.Commands/CommandServiceConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.Commands/CommandServiceConfig.cs b/src/Discord.Net.Commands/CommandServiceConfig.cs index c772b273d..6a8060a5d 100644 --- a/src/Discord.Net.Commands/CommandServiceConfig.cs +++ b/src/Discord.Net.Commands/CommandServiceConfig.cs @@ -41,7 +41,7 @@ namespace Discord.Commands /// Gets or sets whether a help function should be automatically generated. public HelpMode HelpMode { get; set; } = HelpMode.Disabled; - internal CommandServiceConfig(CommandServiceConfigBuilder builder) + public CommandServiceConfig(CommandServiceConfigBuilder builder) { PrefixChar = builder.PrefixChar; AllowMentionPrefix = builder.AllowMentionPrefix;