Twitch single-message deletion basic support

This commit is contained in:
Luxferre
2024-09-20 16:17:20 +03:00
parent 3d65d68d8a
commit 707b9e611a
7 changed files with 103 additions and 45 deletions
+2
View File
@@ -108,6 +108,8 @@ func kk_process_message(rawmsg map[string]interface{}) {
/* prepare output message */
out_message := ChatMessage {
Type: "kk",
NativeId: rawmsg["id"].(string),
AuthorId: string(int64(author["id"].(float64))),
Username: author["username"].(string),
Timestamp: sent_dt.UTC().Format("2006-01-02T15:04:05Z"),
Text: rawmsg["content"].(string),