mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Added support for MOTD and whispers. Commands can opt into responding to whispers and there's a helper method to handle replying through the correct channel.
This commit is contained in:
12
KfChatDotNetWsClient/Models/Events/WhisperModel.cs
Normal file
12
KfChatDotNetWsClient/Models/Events/WhisperModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace KfChatDotNetWsClient.Models.Events;
|
||||
|
||||
public class WhisperModel
|
||||
{
|
||||
public required UserModel Author { get; set; }
|
||||
public required UserModel Recipient { get; set; }
|
||||
public required string Message { get; set; }
|
||||
public required string MessageRaw { get; set; }
|
||||
public required DateTimeOffset MessageDate { get; set; }
|
||||
public required string MessageRawHtmlDecoded { get; set; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user