From cd4785347eb641a0fab1a7157d701dd5d8c3259f Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Thu, 27 Sep 2018 00:31:30 +0200 Subject: hoked the command handler up to the web api modified file locations --- DSACore/Models/Command.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'DSACore/Models/Command.cs') diff --git a/DSACore/Models/Command.cs b/DSACore/Models/Command.cs index 2630d47..58be41a 100644 --- a/DSACore/Models/Command.cs +++ b/DSACore/Models/Command.cs @@ -12,7 +12,8 @@ namespace DSACore.Models public string Name { get; set; } public string CmdIdentifier { get; set; } public List CmdTexts { get; set; } - public string CmdText => CmdTexts.First(); + public string CmdText => CmdTexts != null ? CmdTexts.First() : ""; + public int Cmdmodifier { get; set; } = 0; public bool IsDm { get; set; } = false; } -- cgit v1.2.3-70-g09d2