-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 📇 Function & Mechanisms - new /info command - root /info command with new introduction page design - /start command with new design like new /info - /version and /runtime merged to /info - old command still available though been hidden - new "/x?" in random tools - new function: reply ? for a ? ## 🔌 for Trusted/Admin - new MornyReport report exceptions or startup/exit events to telegram chat - cha *msg supported body-less send check ## 🔩 for self-hosted/developer - Project port to Scala - add Dockerfile & docker-compose.yml - add param for Medication Timer - param: --medication-notify-chat / -medc - param:--medication-notify-timezone / -medtz - param: --medication-notify-times / -medt - cha unset default params (--master ect. is -1 as default) - add ID_501 as Morny function return while not supported by provided master ## 🧯 Bug Fix - fix unclosed quote will cause exceptions while parsing command. - fix some hidden command cannot execute due to no support to non-ascii command name. (also changed its behavor while I won't tell too much here) - fix error while converting millisecond to nanosecond in Medication Timer - inline query ShareBilibiliVideo now will not receive illegal av/BV id which can cause exceptions. - /nbnhhsh will now send 404 when there's no input text. - fix --trusted-chat -1 will caused MornyTrusted throws exception, now it will judge(ignore) the value as design. - fixed --report-to -1 not process normally - added missing --dinner-chat startup param. - Some minor fixes while porting coeur to scala is not listed.
- Loading branch information
Showing
181 changed files
with
5,991 additions
and
4,984 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
# IDE | ||
.idea/ | ||
.vscode/ | ||
.gradle/ | ||
.settings/ | ||
|
||
#build | ||
/build/ | ||
/bin/ | ||
.metals/ | ||
.bloop/ | ||
.project | ||
lcoal.properties | ||
|
||
# debug dir | ||
/run/ |
Large diffs are not rendered by default.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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,21 @@ | ||
FROM eclipse-temurin:20-jdk as build | ||
LABEL authors="A.C.Sukazyo Eyre" | ||
|
||
COPY . /app/source/ | ||
WORKDIR /app | ||
|
||
RUN cd ./source \ | ||
&& ./gradlew shadowJar -PdockerBuild \ | ||
&& cd .. \ | ||
&& cp ./source/build/libs/morny-coeur-docker-build.jar ./morny-coeur.jar | ||
#&& rm -r ./source \ | ||
#&& rm -r /root/.gradle \ | ||
|
||
|
||
FROM eclipse-temurin:20-jre | ||
|
||
COPY --from=build /app/morny-coeur.jar /app/morny-coeur.jar | ||
WORKDIR /app | ||
|
||
ENTRYPOINT ["java", "-jar", "morny-coeur.jar"] | ||
CMD ["-q", "-v"] |
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 |
---|---|---|
|
@@ -4,19 +4,22 @@ | |
[todo]: https://github.com/users/Eyre-S/projects/1 | ||
[artifact]: https://mvn.sukazyo.cc/#/releases/cc/sukazyo/morny-coeur | ||
|
||
[tg4j]: https://github.com/pengrad/java-telegram-bot-api | ||
[scala]: https://www.scala-lang.org/ | ||
[spotbugs]: https://spotbugs.github.io/ | ||
[junit5]: https://junit.org/junit5/ | ||
[tg4j]: https://github.com/pengrad/java-telegram-bot-api | ||
[okhttp]: https://square.github.io/okhttp/ | ||
[gson]: https://github.com/google/gson | ||
[scalatest]: https://scalatest.org/ | ||
|
||
<div align=center> | ||
|
||
# ~~给所有喜欢morny的大家的~~ Morny Coeur 源代码 | ||
|
||
~~"你们又有意见又不发issue这样子我很为难的啊"~~ | ||
~~"and nobody cares."~~ | ||
|
||
![social preview card]([email protected]) | ||
|
||
一个 telegram 上的服侍 A.C.Sukazyo Eyre 和它的花宫成员的 bot 的内核源 | ||
一个 telegram 上的服侍 A.C.Sukazyo Eyre 和它的花宫成员的 bot 内核 | ||
|
||
[Task Listing][todo] | [~~BBS~~][issues] | [Published][artifact] | ||
|
||
|
@@ -32,6 +35,9 @@ | |
|
||
[Java Telegram Bot API][tg4j] | ||
|
||
[SpotBugs Annotations][spotbugs] | [JUnit 5][junit5] | ||
|
||
[okhttp] | [Gson][gson] | ||
|
||
[Scala][scala] | [SpotBugs Annotations][spotbugs] | [ScalaTest][scalatest] | ||
|
||
</div> |
Submodule _book
deleted from
3072bc
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
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,4 @@ | ||
services: | ||
coeur-app: | ||
build: . | ||
command: -v |
Oops, something went wrong.