From abaa893f3afbfaff655bb50d651b291590859784 Mon Sep 17 00:00:00 2001 From: cikiPAD <58922174+cikiPAD@users.noreply.github.com> Date: Thu, 7 Dec 2023 15:57:09 +0800 Subject: [PATCH] Update Lolicon.kt --- src/main/kotlin/command/Lolicon.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/command/Lolicon.kt b/src/main/kotlin/command/Lolicon.kt index 4d98f7f..7fd549c 100644 --- a/src/main/kotlin/command/Lolicon.kt +++ b/src/main/kotlin/command/Lolicon.kt @@ -653,7 +653,7 @@ object Lolicon : CompositeCommand( //imageMsgBuilder.add(contact.bot, PlainText(imageData.toReadable(imageData.urls))) - val imageUrls: List = ImageSourceManager.getInstance()?.getImageUrls(SourceTypeConstant.NYAN, req) + val imageUrls: List = ImageSourceManager.getInstance()?.getImageUrls(req) ?.filterNotNull() ?: emptyList()