[fix] DiscordNotifs use ChatTimestamp formatting

Signed-off-by: Dominika <sokolov.dominika@gmail.com>
This commit is contained in:
Dominika 2021-01-16 15:57:25 -05:00
parent a526126737
commit 78374f0f4e
No known key found for this signature in database
GPG Key ID: B4A5A6DCA70F861F
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ internal object DiscordNotifs : Module(
private fun getTime() =
if (!time.value) ""
else "[${TimeUtils.getTime()}] "
else ChatTimestamp.formattedTime
private fun sendMessage(content: String, avatarUrl: String) {
val tm = TemmieWebhook(url.value)