Hide owner commands from command endpoint

This commit is contained in:
runebaas 2018-09-05 21:13:43 +02:00
parent 6d3fc46e34
commit a8c91c0372
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
2 changed files with 3 additions and 4 deletions

View file

@ -6,10 +6,9 @@ namespace Geekbot.net.WebApi.Controllers.Commands
public class CommandDto
{
public string Name { get; set; }
public string Category { get; set; }
public string Summary { get; set; }
public bool IsAdminCommand { get; set; }
public Array Aliases { get; set; }
public List<string> Aliases { get; set; }
public List<CommandParamDto> Params { get; set; }
}
}