mirror of https://github.com/kami-blue/client
[fix] DiscordNotifs use ChatTimestamp formatting
Signed-off-by: Dominika <sokolov.dominika@gmail.com>
This commit is contained in:
parent
a526126737
commit
78374f0f4e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue