summaryrefslogtreecommitdiff
path: root/DSACore
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-09-27 01:58:26 +0200
committerTrueDoctor <d-kobert@web.de>2018-09-27 01:58:26 +0200
commit12ce4c331e7b76417ccc555a5978c0b78792d166 (patch)
tree752d7e94217d65a36e99838e3ef625bace27b6f9 /DSACore
parentcd4785347eb641a0fab1a7157d701dd5d8c3259f (diff)
disabeled some of the discord commandhandling to forward the requests to the web api
Diffstat (limited to 'DSACore')
-rw-r--r--DSACore/Models/Command.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/DSACore/Models/Command.cs b/DSACore/Models/Command.cs
index 58be41a..a1bd0b2 100644
--- a/DSACore/Models/Command.cs
+++ b/DSACore/Models/Command.cs
@@ -12,7 +12,7 @@ namespace DSACore.Models
public string Name { get; set; }
public string CmdIdentifier { get; set; }
public List<string> CmdTexts { get; set; }
- public string CmdText => CmdTexts != null ? CmdTexts.First() : "";
+ public string CmdText => CmdTexts.Count != 0 ? CmdTexts.First() : "";
public int Cmdmodifier { get; set; } = 0;
public bool IsDm { get; set; } = false;