feat: make usernames in USERNOTICEs clickable (#5686)

This commit is contained in:
nerix
2024-11-03 12:17:16 +01:00
committed by GitHub
parent 403fc6d3c4
commit 8220a1fbd4
15 changed files with 297 additions and 96 deletions
@@ -38,8 +38,9 @@
"type": "TimestampElement"
},
{
"color": "System",
"flags": "Text",
"color": "Text",
"fallbackColor": "System",
"flags": "Text|Mention",
"link": {
"type": "None",
"value": ""
@@ -47,7 +48,9 @@
"style": "ChatMedium",
"tooltip": "",
"trailingSpace": true,
"type": "TextElement",
"type": "MentionElement",
"userColor": "System",
"userLoginName": "foly__",
"words": [
"foly__"
]