diff --git a/book.xml b/book.xml index 6377f87..4c6ff83 100644 --- a/book.xml +++ b/book.xml @@ -23,10 +23,11 @@ /o /start]]> /user - /nbnhhsh <small>能不能好好说话?</small> - <small>/ip /whois</small> + 能不能好好说话?]]> + /ip /whois]]> /encrypt /info + /exit inline - 内联查询 @@ -51,12 +52,12 @@ note::本说明书进度,以及待修整的部分 - + - - 资料库]]> - command/encrypt-example.png - + + + + diff --git a/command/encrypt-example.md b/command/encrypt-example.md index 5700959..ad6baa2 100644 --- a/command/encrypt-example.md +++ b/command/encrypt-example.md @@ -1,4 +1,6 @@ -# command/encrypt-example.png +--- +title: command/encrypt-example.png +--- ![an example shows how to encrypt a text message](./encrypt-exapmle.png) an example shows how to encrypt a text message diff --git a/command/exit.md b/command/exit.md new file mode 100644 index 0000000..e22dfe5 --- /dev/null +++ b/command/exit.md @@ -0,0 +1,52 @@ +--- +title: "/exit" +--- + +> also known as `/quit` +> also known as `/stop` + + + + + +**此工具仅限 [可信成员](../trusted) 使用** +这是一个管理类工具,它拥有操作 Morny Cono 底层并可以破坏其运行稳定性的能力 + + + +这个命令可以让你关闭正在运行的这个 Morny Cono。 + +## usage + +执行 `/exit`命令,然后你就会看到下面的贴纸: + +{.sticker} +![ID_EXIT](https://stickers.sukazyo.cc/sticker/CAACAgEAAxkBAAMoYYYWt8UjvP0N405SAyvg2SQZmokAAkMiAAJ4_MYFw6yZLu06b-MiBA.png) + +这样子,Morny Cono 就已收到关闭指令并已退出运行。 + +### 权限不足 + +如果权限不足的话,你将会看到下面的贴纸: + +{.sticker} +![ID_403](https://stickers.sukazyo.cc/sticker/CAACAgEAAxkBAAMqYYYa_7hpXH6hMOYMX4Nh8AVYd74AAnQnAAJ4_MYFRdmmsQKLDZgiBA.png) + +在这种情况下,Morny 将显然是不会遵循你的关闭指令。 + +## Log 记录 + +出于退出命令是影响 Morny 运行的重要指令,所以,在设计上,不论是成功退出还是由于权限不足被拒绝,每次执行退出指令都将会产生一行等级为 `INFO` 的 log。log 将会记录下你的 Telegram userid(如果没有的话则是用户姓名全名)和 Telegram 用户内部 uid。所以不要乱玩哦[@Eyre_S] 在看着你 + +[@Eyre_S]: https://t.me/Eyre_S + +像是下面这样: + +```log +[INFO] 403 exited tag from user 🍓 | 抱抱 呜呜呜 [341632447] +[INFO] Morny exited by user @Eyre_S[793274677] +``` diff --git a/command/overview.md b/command/overview.md index 829c0ea..730c08c 100644 --- a/command/overview.md +++ b/command/overview.md @@ -112,7 +112,7 @@ -/exit +/exit 关闭 Bot(仅可信成员) @@ -192,11 +192,11 @@ -/quit +/quit 仅仅是人性化设计的 /exit 的匿名别名。 -/stop +/stop diff --git a/note-todo.md b/note-todo.md index 353cf3c..f319fd3 100644 --- a/note-todo.md +++ b/note-todo.md @@ -10,7 +10,7 @@
-🟪🟪🟪⬜🟪🟪🟪🟪⬜⬛️ ⬜⬜ ⬜⬜ +🟪🟪🟪⬜🟪🟪🟪🟪⬜⬛️ ⬜🟪 ⬜⬜ ⬜⬜🟩🟩 🟧⬜⬜🟧🟧⬜🟧⬜ 🟦⬜⬜ @@ -33,7 +33,7 @@ - ~~`/install`~~ - 管理员命令 - [ ] `/save` - - [ ] `/exit` /stop /quit + - [x] ~~`/exit` /stop /quit~~ - 单独功能的额外命令 - [ ] `/r` - [ ] `/test`