blob: de5267986277d545f8b93152f7712c4a0fd9cd7c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
using System.Text.Json.Serialization;
using LibMatrix.EventTypes;
namespace ModerationBot.AccountData;
[MatrixEvent(EventName = EventId)]
public class BotData {
public const string EventId = "gay.rory.moderation_bot_data";
[JsonPropertyName("control_room")]
public string? ControlRoom { get; set; } = "";
[JsonPropertyName("log_room")]
public string? LogRoom { get; set; } = "";
[JsonPropertyName("default_policy_room")]
public string? DefaultPolicyRoom { get; set; }
}
|