morny-book/command/exit.md

52 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: "/exit"
---
<style>
@import "../stickers.css"
</style>
> also known as `/quit`
> also known as `/stop`
<font color=palevioletred>
**此工具仅限 [可信成员](../trusted) 使用**
这是一个管理类工具,它拥有操作 Morny Cono 底层并可以破坏其运行稳定性的能力
</font>
这个命令可以让你关闭正在运行的这个 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 将<small>显然是</small>不会遵循你的关闭指令。
## Log 记录
出于退出命令是影响 Morny 运行的重要指令,所以,在设计上,不论是成功退出还是由于权限不足被拒绝,每次执行退出指令都将会产生一行等级为 `INFO` 的 log。log 将会记录下你的 Telegram userid如果没有的话则是用户姓名全名和 Telegram 用户内部 uid。<small>所以不要乱玩哦<s>[@Eyre_S] 在看着你</s></small>
[@Eyre_S]: https://t.me/Eyre_S
像是下面这样:
```log
[INFO] 403 exited tag from user qwq [676559089]
[INFO] Morny exited by user @Eyre_S[793274677]
```