mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-15 12:10:21 +00:00
added duration field to reminder and restructured remind text
added general duration formatting to freemarker (its a builtin method currently added source channel attribute to starboard post added exception logging to immediate reminders
This commit is contained in:
@@ -8,6 +8,20 @@
|
||||
"g": 0,
|
||||
"b": 255
|
||||
},
|
||||
"description": "You wanted to be reminded of: '${reminder.text}'. Original message was [here](${messageUrl}).",
|
||||
"description": "You wanted to be reminded.",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Duration",
|
||||
"value": "${fmtDuration(duration)}"
|
||||
},
|
||||
{
|
||||
"name": "Note",
|
||||
"value": "${reminder.text}"
|
||||
},
|
||||
{
|
||||
"name": "Link",
|
||||
"value": "[Jump!](${messageUrl})"
|
||||
}
|
||||
],
|
||||
"additionalMessage": "${member.asMention}"
|
||||
}
|
||||
Reference in New Issue
Block a user