-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dia bot not able to be initialised in version 2+
- Loading branch information
Showing
4 changed files
with
175 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
{ | ||
"messages": [ | ||
"妳好,我是 <span>Dia</span>,好高興遇見妳~", | ||
"好久不見,日子過得好快呢……", | ||
"<span>大壞蛋!</span>妳都多久沒理人家了呀,嚶嚶嚶~", | ||
"嗨~快來逗我玩吧!", | ||
"拿小拳拳錘妳胸口!", | ||
"學習使我們快樂,快樂使我們更想學習~", | ||
"showQuote" | ||
], | ||
"console": "哈哈,妳打開了控制臺,是想要看看我的小秘密嗎?", | ||
"copy": "妳都復制了些什麽呀,轉載要記得加上出處哦!", | ||
"visibility_change": "老朋友,妳怎麽才回來呀~", | ||
"welcome": { | ||
"5_7": "早上好!一日之計在於晨,美好的一天就要開始了。", | ||
"7_11": "上午好!工作順利嘛,不要久坐,多起來走動走動哦!", | ||
"11_13": "中午了,工作了一個上午,現在是午餐時間!", | ||
"13_17": "午後很容易犯睏呢,今天的運動目標完成了嗎?", | ||
"17_19": "傍晚了!窗外夕陽的景色很美麗呢,最美不過夕陽紅~", | ||
"19_21": "晚上好,今天過得怎麽樣?", | ||
"21_23": ["已經這麽晚了呀,早點休息吧,晚安~", "深夜時要愛護眼睛呀!"], | ||
"24": "妳是夜貓子呀?這麽晚還不睡覺,明天起的來嘛?" | ||
}, | ||
"referrer": { | ||
"self": "歡迎來到<span>「[PLACEHOLDER]」</span>", | ||
"baidu": "Hello!來自 百度搜索 的朋友<br>妳是搜索 <span>「[PLACEHOLDER]」</span> 找到的我嗎?", | ||
"so": "Hello!來自 360搜索 的朋友<br>妳是搜索 <span>「[PLACEHOLDER]」</span> 找到的我嗎?", | ||
"google": "Hello!來自 谷歌搜索 的朋友<br>歡迎閱讀<span>「[PLACEHOLDER]」</span>", | ||
"site": "Hello!來自 <span>[PLACEHOLDER]</span> 的朋友", | ||
"other": "歡迎閱讀 <span>[PLACEHOLDER]</span>" | ||
}, | ||
"mouseover": [ | ||
{ | ||
"selector": "#Aurora-Dia", | ||
"text": [ | ||
"哇啊啊啊啊啊啊... <span>妳想幹嘛</span>? O.O", | ||
"請您輕一點,我是<span>很昂貴</span>的機器人哦! O.O", | ||
"<span>領導,我在呢!</span> 我有什麽可以幫到妳呢? O.O" | ||
] | ||
}, | ||
{ | ||
"selector": "[data-menu='Home']", | ||
"text": [ | ||
"點擊前往首頁,想回到上一頁可以使用瀏覽器的後退功能哦。", | ||
"點它就可以回到首頁啦!", | ||
"回首頁看看吧。" | ||
] | ||
}, | ||
{ | ||
"selector": "[data-menu='About']", | ||
"text": [ | ||
"妳想知道我家主人是誰嗎?", | ||
"這裏有一些關於我家主人的秘密哦,要不要看看呢?", | ||
"發現主人出沒地點!" | ||
] | ||
}, | ||
{ | ||
"selector": "[data-menu='Archives']", | ||
"text": ["這裏存儲了主人的所有作品哦!", "想看看主人的圖書館嗎?"] | ||
}, | ||
{ | ||
"selector": "[data-menu='Tags']", | ||
"text": [ | ||
"點擊就可以看文章的標簽啦!", | ||
"使用標簽可以更好的分類妳的文章哦~" | ||
] | ||
}, | ||
{ | ||
"selector": "[data-dia='language']", | ||
"text": "主人的博客支持多種語言。" | ||
}, | ||
{ | ||
"selector": "[data-dia='light-switch']", | ||
"text": "您可以點擊這裏切換黑白模式哦!" | ||
}, | ||
{ | ||
"selector": "[data-dia='author']", | ||
"text": [ | ||
"這是我主人的簡介。", | ||
"點擊其中任何一個鏈接都可以傳送到我主人的其他世界。" | ||
] | ||
}, | ||
{ | ||
"selector": "[data-dia='jump-to-comment']", | ||
"text": ["妳想看看評論嗎?", "點擊這裏可以幫助妳直接跳轉到評論部分。"] | ||
} | ||
], | ||
"click": [ | ||
{ | ||
"selector": "[data-dia='search']", | ||
"text": [ | ||
"沒有看到妳想要的文章,那麽就輸入妳想搜索的關鍵詞吧~", | ||
"可以使用 ctrl/cmd + k 快捷鍵打開搜索哦~" | ||
] | ||
}, | ||
{ | ||
"selector": "[data-dia='article-link']", | ||
"text": [ | ||
"希望妳會喜歡這篇文章:<span>「{text}」</span>.", | ||
"您的選擇真的不錯哦!好好享受這篇文章吧~", | ||
"希望您能從 <span>「{text}」</span>這篇文章中學到點東西。" | ||
] | ||
}, | ||
{ | ||
"selector": ".gt-header-textarea", | ||
"text": [ | ||
"要吐槽些什麽呢?", | ||
"一定要認真填寫喵~", | ||
"有什麽想說的嗎?", | ||
"如果覺得文章不錯的話,就給博主留個言吧~" | ||
] | ||
}, | ||
{ | ||
"selector": ".veditor", | ||
"text": [ | ||
"要吐槽些什麽呢?", | ||
"一定要認真填寫喵~", | ||
"有什麽想說的嗎?", | ||
"如果覺得文章不錯的話,就給博主留個言吧~" | ||
] | ||
} | ||
], | ||
"events": [ | ||
{ | ||
"date": "01/01", | ||
"text": "<span>元旦</span>了呢,新的一年又開始了,今年是{year}年~" | ||
}, | ||
{ | ||
"date": "02/14", | ||
"text": "又是一年<span>情人節</span>,{year}年找到對象了嘛~" | ||
}, | ||
{ | ||
"date": "03/08", | ||
"text": "今天是<span>國際婦女節</span>!" | ||
}, | ||
{ | ||
"date": "03/12", | ||
"text": "今天是<span>植樹節</span>,要保護環境呀!" | ||
}, | ||
{ | ||
"date": "04/01", | ||
"text": "悄悄告訴妳一個秘密~<span>今天是愚人節,不要被騙了哦~</span>" | ||
}, | ||
{ | ||
"date": "05/01", | ||
"text": "今天是<span>五一勞動節</span>,計劃好假期去哪裏了嗎~" | ||
}, | ||
{ | ||
"date": "06/01", | ||
"text": "<span>兒童節</span>了呢,快活的時光總是短暫,要是永遠長不大該多好啊…" | ||
}, | ||
{ | ||
"date": "09/03", | ||
"text": "<span>中國人民抗日戰爭勝利紀念日</span>,銘記歴史、緬懷先烈、珍愛和平、開創未來。" | ||
}, | ||
{ | ||
"date": "09/10", | ||
"text": "<span>教師節</span>,在學校要給老師問聲好呀~" | ||
}, | ||
{ | ||
"date": "10/01", | ||
"text": "<span>國慶節</span>到了,為祖國母親慶生!" | ||
}, | ||
{ | ||
"date": "11/05-11/12", | ||
"text": "今年的<span>雙十一</span>是和誰一起過的呢~" | ||
}, | ||
{ | ||
"date": "12/20-12/31", | ||
"text": "這幾天是<span>聖誕節</span>,主人肯定又去剁手買買買了~" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters