From 12ce4c331e7b76417ccc555a5978c0b78792d166 Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Thu, 27 Sep 2018 01:58:26 +0200 Subject: disabeled some of the discord commandhandling to forward the requests to the web api --- DSACore/Models/Command.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DSACore/Models/Command.cs') 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 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; -- cgit v1.2.3-70-g09d2