diff options
author | TrueDoctor <d-kobert@web.de> | 2018-09-27 00:31:30 +0200 |
---|---|---|
committer | TrueDoctor <d-kobert@web.de> | 2018-09-27 00:31:30 +0200 |
commit | cd4785347eb641a0fab1a7157d701dd5d8c3259f (patch) | |
tree | 30ffcea7337231f84c47d45316babf45c24c3682 /DSACore/Models/Command.cs | |
parent | 19bf37de7642ae8cdefd8fc6b4fadac3ac96ea9b (diff) |
hoked the command handler up to the web api
modified file locations
Diffstat (limited to 'DSACore/Models/Command.cs')
-rw-r--r-- | DSACore/Models/Command.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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<string> 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; } |