diff --git a/bot/bot.go b/bot/bot.go
index b2764e33..5bf78897 100644
--- a/bot/bot.go
+++ b/bot/bot.go
@@ -625,7 +625,29 @@ func makeHandle() {
}
importReport := fmt.Sprintf("导入成功:%d,导入失败:%d", len(successImportList), len(failImportList))
+ if len(successImportList) != 0 {
+ successReport := "\n\n以下订阅源导入成功:"
+ for i, line := range successImportList {
+ if line.Text != "" {
+ successReport += fmt.Sprintf("\n[%d] %s", i+1, line.XMLURL, line.Text)
+ } else {
+ successReport += fmt.Sprintf("\n[%d] %s", i+1, line.XMLURL)
+ }
+ }
+ importReport += successReport
+ }
+ if len(failImportList) != 0 {
+ failReport := "\n\n以下订阅源导入失败:"
+ for i, line := range failImportList {
+ if line.Text != "" {
+ failReport += fmt.Sprintf("\n[%d] %s", i+1, line.XMLURL, line.Text)
+ } else {
+ failReport += fmt.Sprintf("\n[%d] %s", i+1, line.XMLURL)
+ }
+ }
+ importReport += failReport
+ }
_, err = B.Edit(message, importReport, &tb.SendOptions{
DisableWebPagePreview: true,
ParseMode: tb.ModeHTML,