Brought back CommandPlugin.CommandChar

This commit is contained in:
RogueException
2015-10-30 10:04:20 -03:00
parent ee22765215
commit faae530ae1

View File

@@ -18,7 +18,8 @@ namespace Discord.Commands
internal CommandMap Map => _map;
private readonly CommandMap _map;
public IEnumerable<char> CommandChars { get { return _commandChars; } set { _commandChars = value.ToArray(); } }
public char ComamndChar { get { return _commandChars[0]; } set { _commandChars = new char[] { value }; } }
public IEnumerable<char> CommandChars { get { return _commandChars; } set { _commandChars = value.ToArray(); } }
private char[] _commandChars;
public bool RequireCommandCharInPublic { get; set; }