Big update introducing ghetto command interface, settings, database and howl.gg bet feed scraping

This commit is contained in:
barelyprofessional
2024-07-18 01:37:15 +10:00
parent 936bf743a5
commit d61a171e54
46 changed files with 2198 additions and 218 deletions

View File

@@ -3,10 +3,16 @@ namespace KfChatDotNetWsClient.Models.Events;
public class MessageModel
{
public UserModel Author { get; set; }
/// <summary>
/// HTML formatted message
/// </summary>
public string Message { get; set; }
public int MessageId { get; set; }
public DateTimeOffset? MessageEditDate { get; set; }
public DateTimeOffset MessageDate { get; set; }
/// <summary>
/// Unformatted message with original BB code
/// </summary>
public string MessageRaw { get; set; }
public int RoomId { get; set; }
}

View File

@@ -3,6 +3,9 @@ namespace KfChatDotNetWsClient.Models.Events;
public class UserModel
{
public int Id { get; set; }
/// <summary>
/// Forum display name. Note that it'll be HTML encoded
/// </summary>
public string Username { get; set; }
public Uri AvatarUrl { get; set; }
// Unset if it's related to a chat message