Add project to update Patrons.yml from a csv file containing Patreon webhooks, add missing Patrons (#20942)

This commit is contained in:
DrSmugleaf
2023-10-12 00:33:30 -07:00
committed by GitHub
parent 1e1433374a
commit 388e424a17
13 changed files with 267 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using CsvHelper.Configuration.Attributes;
namespace Content.PatreonParser;
// These need to be properties or CSVHelper will not find them
public sealed class Row
{
[Name("Id"), Index(0)]
public int Id { get; set; }
[Name("Trigger"), Index(1)]
public string Trigger { get; set; } = default!;
[Name("Time"), Index(2)]
public DateTime Time { get; set; }
[Name("Content"), Index(3)]
public string ContentJson { get; set; } = default!;
}