属于安妮的花宫侍从小鼠 https://book.sukazyo.cc/morny
Go to file
Eyre_S 961edd93f3
[[release 1.3.0*guanggu]]
## 📇 Function & Mechanisms

- add daily event statistics, which collects event processed counts and average consumed time
  - can be found using `/info event` or newly added Morny Daily Report
  - will reset every 00:00 of report-zone
- add `/info tasks` to monitor current coeur task manager status
- cha Question Mark Reply support `⸘`
- cha bot output supported codeblock language tag (for event_hack output and exception report)
- for inline twittet tweet share
  - add FixTweet output format
  - removed c.vxtwitter output format (because the upstream default is changed to combined)
  - support x.com and fixvx.com and fixupx.com for input
- add some methods that can get social media status' content
  - currently support tweeter tweet, and weibo status
    - weibo with videos is not supported yet
  - add command `/get <status-url>` can get from a url
  - add private message listener that can automaticly search supported url from recieved private message and output the status content
  - add inline query can output status content by using `<supported-url> get` (or `get <supported-url> is also supported`)
    - weibo with pics and twitter with videos is not supported yet

## 🧯 Bug Fix

- fix Telegram User DC matching failure due to cdn domain changed to */cdn-telegram.org
- fix InputCommand throws OutOfBounds when input is empty (aka. only `/` in message text)
- fix wrong time parsing in OnCallMe-last_dinner

## 🔌 for Trusted/Admin

- add Morny Daily Report, will report at 00:00 of report-zone
  - now will report daily event statistics

## 🔩 for self-hosted/developer

- add --report-zone startup param to control which time-zone the Daily Report time should aligned to
  - default is system default zone
- add err handler for MornyCoeur#eventManager(UpdateListener), now error will not output to stderr but Morny's logger.
- add util.scheduler and MornyCoeur#tasks for task managering
- add MornyCoeur#watchDog
- add EventEnv#timeStartup
- add atEventPost and executeFilter in EventListener
- cha EventEnv#status
- add SttpPublic#mornyBasicRequest and make every Morny's HTTP request using it (eveny request now will take Morny UA)
2023-12-06 21:51:29 +08:00
gradle/wrapper update gradle build src for capability with IDEA 2023-10-12 14:39:18 +08:00
src make private url share can get from content 2023-12-02 21:11:33 +08:00
.dockerignore complete scala port 2023-09-16 23:12:44 +08:00
.editorconfig complete scala port 2023-09-16 23:12:44 +08:00
.gitattributes fix featured-image error 2023-10-20 21:26:58 +08:00
.gitignore bug fix for scala port 2023-09-17 15:18:57 +08:00
build.gradle change /tweet to /get and added support for weibo content 2023-11-27 18:58:35 +08:00
docker-compose.yml add docker, update gradle wrapper 2023-08-15 14:10:13 +08:00
Dockerfile add docker, update gradle wrapper 2023-08-15 14:10:13 +08:00
gradle.properties [[release 1.3.0*guanggu]] 2023-12-06 21:51:29 +08:00
gradlew fix gradlew exec perm 2022-11-09 14:03:53 +08:00
gradlew.bat fix gradlew exec perm 2022-11-09 14:03:53 +08:00
morny-github-social-preview-card@0.75x.png README 创建 2022-02-04 01:12:45 +08:00
README.md update README 2023-10-06 21:52:31 +08:00
settings.gradle new logger level and formatter 2023-10-15 21:14:54 +08:00

给所有喜欢morny的大家的 Morny Coeur 源代码

"and nobody cares."

social preview card

一个 telegram 上的服侍 A.C.Sukazyo Eyre 和它的花宫成员的 bot 内核

Task Listing | BBS | Published

说明书 | FindInTelegram




Libraries Used

Java Telegram Bot API

okhttp | Gson

Scala | SpotBugs Annotations | ScalaTest