Renamed IsHidden -> Hide
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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 =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user