diff options
author | Dennis Kobert <d-kobert@web.de> | 2019-05-19 16:03:38 +0200 |
---|---|---|
committer | Dennis Kobert <d-kobert@web.de> | 2019-05-19 16:03:38 +0200 |
commit | f89f308c525e9deebc6d2cf6416e27dfe1a299dc (patch) | |
tree | 7097ef871ead0245efda696198443eab8e443d3a /DSACore/Models/Network/Command.cs | |
parent | f3983341be939235c1a6cd522b3bb5cc318a6d1a (diff) |
Cleanup DiscoBot Project
Diffstat (limited to 'DSACore/Models/Network/Command.cs')
-rw-r--r-- | DSACore/Models/Network/Command.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DSACore/Models/Network/Command.cs b/DSACore/Models/Network/Command.cs index 456a896..316461e 100644 --- a/DSACore/Models/Network/Command.cs +++ b/DSACore/Models/Network/Command.cs @@ -14,7 +14,7 @@ namespace DSACore.Models.Network public List<string> CmdTexts { get; set; } public string CmdText => CmdTexts.Count != 0 ? CmdTexts.First() : ""; - public int Cmdmodifier => CmdTexts.Count != 0 && int.TryParse(CmdTexts.Last(), out int mod) ? mod : 0; + public int Cmdmodifier => CmdTexts.Count != 0 && int.TryParse(CmdTexts.Last(), out var mod) ? mod : 0; public bool IsDm { get; set; } = false; } -} +}
\ No newline at end of file |