From 2d7d81c82540207980aeb5836cca9c2908a3badb Mon Sep 17 00:00:00 2001 From: RTAkland Date: Thu, 26 Sep 2024 17:42:49 +0800 Subject: [PATCH] chore: rename --- src/main/kotlin/cn/rtast/fancybot/Const.kt | 2 +- .../fancybot/commands/misc/{FKXQSCommand.kt => KFCCommand.kt} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/main/kotlin/cn/rtast/fancybot/commands/misc/{FKXQSCommand.kt => KFCCommand.kt} (96%) diff --git a/src/main/kotlin/cn/rtast/fancybot/Const.kt b/src/main/kotlin/cn/rtast/fancybot/Const.kt index 6b3633b..7a26155 100644 --- a/src/main/kotlin/cn/rtast/fancybot/Const.kt +++ b/src/main/kotlin/cn/rtast/fancybot/Const.kt @@ -81,7 +81,7 @@ val START_UP_TIME = Instant.now().epochSecond val commands = listOf( EchoCommand(), JrrpCommand(), NiuziRedeemCommand(), HitokotoCommand(), - FKXQSCommand(), QRCodeCommand(), + KFCCommand(), QRCodeCommand(), AntiRevokeCommand(), MCPingCommand(), WeatherCommand(), CigaretteCommand(), RemakeCommand(), PixivCommand(), diff --git a/src/main/kotlin/cn/rtast/fancybot/commands/misc/FKXQSCommand.kt b/src/main/kotlin/cn/rtast/fancybot/commands/misc/KFCCommand.kt similarity index 96% rename from src/main/kotlin/cn/rtast/fancybot/commands/misc/FKXQSCommand.kt rename to src/main/kotlin/cn/rtast/fancybot/commands/misc/KFCCommand.kt index 3e87023..5188c48 100644 --- a/src/main/kotlin/cn/rtast/fancybot/commands/misc/FKXQSCommand.kt +++ b/src/main/kotlin/cn/rtast/fancybot/commands/misc/KFCCommand.kt @@ -19,7 +19,7 @@ import java.time.LocalDateTime import java.time.ZoneId @CommandDescription("今天是疯狂星期四!") -class FKXQSCommand : BaseCommand() { +class KFCCommand : BaseCommand() { override val commandNames = listOf("/fkxqs", "/kfc") private fun isThursday(): Boolean {