mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-21 05:32:43 +00:00
added commands to create/delete/list usernotes
This commit is contained in:
@@ -4,6 +4,7 @@ abstracto.features.warnings.enabled=false
|
||||
abstracto.features.warnDecay.enabled=false
|
||||
abstracto.features.logging.enabled=false
|
||||
abstracto.features.muting.enabled=false
|
||||
abstracto.features.userNotes.enabled=false
|
||||
abstracto.warnings.warnDecay.days=90
|
||||
|
||||
abstracto.scheduling.jobs.unMuteJob.name=unMuteJob
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"author": {
|
||||
<#if specifiedUser??>
|
||||
"name": "${specifiedUser.member.effectiveName}",
|
||||
"avatar": "${specifiedUser.member.user.effectiveAvatarUrl}"
|
||||
<#else>
|
||||
"name": "${member.effectiveName}",
|
||||
"avatar": "${member.user.effectiveAvatarUrl}"
|
||||
</#if>
|
||||
},
|
||||
"title": {
|
||||
<#if specifiedUser??>
|
||||
<#assign user>${specifiedUser.member.effectiveName}</#assign>
|
||||
"title": "<#include "user_notes_embed_user_title">"
|
||||
<#else>
|
||||
"title": "<#include "user_notes_embed_title">"
|
||||
</#if>
|
||||
},
|
||||
"color" : {
|
||||
"r": 200,
|
||||
"g": 0,
|
||||
"b": 255
|
||||
},
|
||||
"description": "<#list userNotes as note>
|
||||
<#assign user>${note.fullUser.member.asMention}</#assign>
|
||||
<#assign noteText>${note.note.note}</#assign>
|
||||
<#assign noteId>${note.note.id}</#assign>
|
||||
<#assign date>${formatInstant(note.note.created, "yyyy-MM-dd HH:mm:ss")}</#assign>
|
||||
<#include "user_notes_note_entry"><#else><#include "user_notes_no_notes">
|
||||
</#list>"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<#include "note_not_found_exception_message">
|
||||
Reference in New Issue
Block a user