Skip to content

Commit

Permalink
fix time label
Browse files Browse the repository at this point in the history
  • Loading branch information
MeiNanziiii committed Nov 19, 2024
1 parent eba8a1e commit 3786641
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import ua.mei.minekord.bot.MinekordBot
import ua.mei.minekord.cache.IPCache
import ua.mei.minekord.config.MinekordConfig.Auth
import ua.mei.minekord.config.MinekordConfig.Messages
import ua.mei.minekord.config.spec.MessagesSpec
import ua.mei.minekord.event.IPCheckEvent
import ua.mei.minekord.utils.AuthUtils
import java.net.SocketAddress
Expand Down Expand Up @@ -65,7 +64,7 @@ class IPCheckExtension : Extension() {

private fun EmbedBuilder.addTimeField() {
field {
name = "> ${MessagesSpec.timeLabel}"
name = "> ${Messages.timeLabel}"
value = "> ${Clock.System.now().toDiscord(TimestampType.Default)}"
inline = true
}
Expand Down

0 comments on commit 3786641

Please sign in to comment.