2019-05-08 18:08:56 +00:00
|
|
|
namespace PluralKit.Bot
|
|
|
|
{
|
|
|
|
public class BotConfig
|
|
|
|
{
|
2020-08-25 17:32:19 +00:00
|
|
|
public static readonly string[] DefaultPrefixes = {"pk;", "pk!"};
|
|
|
|
|
2019-05-08 18:08:56 +00:00
|
|
|
public string Token { get; set; }
|
2019-06-15 10:03:07 +00:00
|
|
|
public ulong? ClientId { get; set; }
|
2020-08-25 17:32:19 +00:00
|
|
|
|
|
|
|
// ASP.NET configuration merges arrays with defaults, so we leave this field nullable
|
|
|
|
// and fall back to the separate default array at the use site :)
|
|
|
|
// This does bind [] as null (therefore default) instead of an empty array, but I can live w/ that.
|
|
|
|
public string[] Prefixes { get; set; }
|
2021-03-18 08:47:58 +00:00
|
|
|
|
|
|
|
public int? MaxShardConcurrency { get; set; }
|
2019-05-08 18:08:56 +00:00
|
|
|
}
|
|
|
|
}
|