changed catch block in join listener for Exception, so the listener dont interrupt one another

fixed join template
added join listener to check if a joined user should be muted
changed cached message to be an intant instead
fixed wrong id in mute table
moved the timestamps for mute notifications to the footer
fixed a case for message embeds, when the embed does not have a description
This commit is contained in:
Sheldan
2020-04-24 20:04:19 +02:00
parent b41a596acd
commit 0f8a39a336
15 changed files with 78 additions and 19 deletions

View File

@@ -28,10 +28,6 @@
"name": "Reason",
"value": "${mute.reason}"
},
{
"name": "Muted from",
"value": "${formatInstant(mute.muteDate, "yyyy-MM-dd HH:mm:ss")}"
},
{
"name": "Muted for",
"value": "${fmtDuration(muteDuration)}"
@@ -43,5 +39,6 @@
],
"footer": {
"text": "Mute #${mute.id}"
}
},
"timeStamp": "${mute.muteDate}"
}

View File

@@ -39,5 +39,6 @@
],
"footer": {
"text": "Mute #${mute.id}"
}
},
"timeStamp": "${mute.muteTargetDate}"
}