Renamed IsHidden -> Hide

This commit is contained in:
RogueException
2015-10-30 10:01:05 -03:00
parent 063d56687c
commit b25b0e92b2
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ namespace Discord.Commands
_isClosed = true; _isClosed = true;
return this; return this;
} }
public CommandBuilder IsHidden() public CommandBuilder Hide()
{ {
_command.IsHidden = true; _command.IsHidden = true;
return this; return this;

View File

@@ -42,7 +42,7 @@ namespace Discord.Commands
{ {
CreateCommand("help") CreateCommand("help")
.Parameter("command", ParameterType.Optional) .Parameter("command", ParameterType.Optional)
.IsHidden() .Hide()
.Info("Returns information about commands.") .Info("Returns information about commands.")
.Do(async e => .Do(async e =>
{ {