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 {