[Fix] BotCommandProcess 修复Search命令格式不正确的问题;

This commit is contained in:
LamGC 2020-05-09 12:52:15 +08:00
parent d9edaa681f
commit 4beb4d78fb

View File

@ -461,18 +461,13 @@ public class BotCommandProcess {
.append("\n\t作品页数: ").append(illustObj.get("pageCount").getAsInt()).append("") .append("\n\t作品页数: ").append(illustObj.get("pageCount").getAsInt()).append("")
.append("\n\t点赞数") .append("\n\t点赞数")
.append(illustPreLoadData.get(PreLoadDataComparator.Attribute.LIKE.attrName).getAsInt()) .append(illustPreLoadData.get(PreLoadDataComparator.Attribute.LIKE.attrName).getAsInt())
.append("\n")
.append("\n\t收藏数") .append("\n\t收藏数")
.append(illustPreLoadData.get(PreLoadDataComparator.Attribute.BOOKMARK.attrName).getAsInt()) .append(illustPreLoadData.get(PreLoadDataComparator.Attribute.BOOKMARK.attrName).getAsInt())
.append("\n")
.append("\n\t围观数") .append("\n\t围观数")
.append(illustPreLoadData.get(PreLoadDataComparator.Attribute.VIEW.attrName).getAsInt()) .append(illustPreLoadData.get(PreLoadDataComparator.Attribute.VIEW.attrName).getAsInt())
.append("\n")
.append("\n\t评论数") .append("\n\t评论数")
.append(illustPreLoadData.get(PreLoadDataComparator.Attribute.COMMENT.attrName).getAsInt()) .append(illustPreLoadData.get(PreLoadDataComparator.Attribute.COMMENT.attrName).getAsInt())
.append("\n") .append("\n").append(imageMsg).append("\n");
.append(imageMsg)
.append("\n");
count++; count++;
} }
if (count > limit) { if (count > limit) {