From faae530ae138f703d3e5cb0de9dd3a8930278fad Mon Sep 17 00:00:00 2001 From: RogueException Date: Fri, 30 Oct 2015 10:04:20 -0300 Subject: [PATCH] Brought back CommandPlugin.CommandChar --- src/Discord.Net.Commands/CommandsPlugin.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Discord.Net.Commands/CommandsPlugin.cs b/src/Discord.Net.Commands/CommandsPlugin.cs index 3afee42fa..1f5e5d450 100644 --- a/src/Discord.Net.Commands/CommandsPlugin.cs +++ b/src/Discord.Net.Commands/CommandsPlugin.cs @@ -18,7 +18,8 @@ namespace Discord.Commands internal CommandMap Map => _map; private readonly CommandMap _map; - public IEnumerable CommandChars { get { return _commandChars; } set { _commandChars = value.ToArray(); } } + public char ComamndChar { get { return _commandChars[0]; } set { _commandChars = new char[] { value }; } } + public IEnumerable CommandChars { get { return _commandChars; } set { _commandChars = value.ToArray(); } } private char[] _commandChars; public bool RequireCommandCharInPublic { get; set; }