Abstracted out command arguments a bit

This commit is contained in:
Master Kwoth
2017-11-29 18:14:19 +07:00
parent c723f82d95
commit 471ab6cb27
4 changed files with 38 additions and 5 deletions

View File

@ -1,8 +1,9 @@
using CommandLine;
using NadekoBot.Core.Common;
namespace NadekoBot.Core.Modules.Gambling.Common.AnimalRacing
{
public class RaceOptions
public class RaceOptions : INadekoCommandOptions
{
[Option('s', "start-time", Default = 20, Required = false)]
public int StartTime { get; set; } = 20;