Brought back CommandPlugin.CommandChar
This commit is contained in:
@@ -18,6 +18,7 @@ namespace Discord.Commands
|
|||||||
internal CommandMap Map => _map;
|
internal CommandMap Map => _map;
|
||||||
private readonly CommandMap _map;
|
private readonly CommandMap _map;
|
||||||
|
|
||||||
|
public char ComamndChar { get { return _commandChars[0]; } set { _commandChars = new char[] { value }; } }
|
||||||
public IEnumerable<char> CommandChars { get { return _commandChars; } set { _commandChars = value.ToArray(); } }
|
public IEnumerable<char> CommandChars { get { return _commandChars; } set { _commandChars = value.ToArray(); } }
|
||||||
private char[] _commandChars;
|
private char[] _commandChars;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user