From 5060afd43eea20b7530251ba06a04464f6feccac Mon Sep 17 00:00:00 2001 From: RTAkland Date: Wed, 15 Jan 2025 16:23:24 +0800 Subject: [PATCH] adjust font position --- src/main/kotlin/cn/rtast/fancybot/commands/misc/NWWNCommand.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/cn/rtast/fancybot/commands/misc/NWWNCommand.kt b/src/main/kotlin/cn/rtast/fancybot/commands/misc/NWWNCommand.kt index 9aa23b7..cfd6546 100644 --- a/src/main/kotlin/cn/rtast/fancybot/commands/misc/NWWNCommand.kt +++ b/src/main/kotlin/cn/rtast/fancybot/commands/misc/NWWNCommand.kt @@ -114,7 +114,7 @@ class SJCommand: BaseCommand() { g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON) g2d.color = Color.BLACK g2d.font = font - g2d.drawCenteredText(keyword, 126, 230) + g2d.drawCenteredText(keyword, 126, 210) g2d.dispose() val imgBase64 = img.toByteArray().encodeToBase64() val msg = Image(imgBase64, true)