Browse Source

Brought back CommandPlugin.CommandChar

tags/docs-0.9
RogueException 9 years ago
parent
commit
faae530ae1
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/Discord.Net.Commands/CommandsPlugin.cs

+ 2
- 1
src/Discord.Net.Commands/CommandsPlugin.cs 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; }


Loading…
Cancel
Save