morny-book/command/overview.md

207 lines
4.4 KiB
Markdown
Raw Normal View History

# Telegram command 速查全表
也可以使用 <kbd>Ctrl</kbd><kbd>F</kbd> 快速查询 <small>基于浏览器搜索</small>
<br>
## CURRENTLY AVAILABLE - 主要
<br>
<table>
<thead><tr><th colspan=3>主要命令</th></tr></thead>
<thead>
<tr>
<th><u>/command</u></th>
<th><u>[usage]</u></th>
<th><u>"Description."</u></th>
</tr>
</thead>
<tr>
<td><b><code>/o</code></b></td>
<td></td>
<td>检查是否在线</td>
</tr>
<tr>
<td><b><code>/hello</code></b></td>
<td rowspan=2></td>
<td rowspan=2>打招呼</td>
</tr>
<tr>
<td><b><code>/hi</code></b></td>
</tr>
<tr>
<td><b><code>/user</code></b></td>
<td><code>&lt;userid&gt;</code> | <u><i>reply_to</i></u></td>
<td>获取指定或回复的用户相关信息</td>
</tr>
<tr>
<td><b><code>/event_hack</code></b></td>
<td><code>[(user|group|any)]</code></td>
<td>输出 bot 下一个获取到的事件序列化数据</td>
</tr>
<tr>
<td><b><code>/nbnhhsh</code></b></td>
<td><code>&lt;text&gt;</code> | <u><i>reply_to(text)</i></u></td>
<td>检索文本内 nbnhhsh 词条</td>
</tr>
<tr>
<td><b><code>/ip</code></b></td>
<td><code>&lt;ip&gt;</code> | <u><i>reply_to(text(ipv4/ipv6))</i></u></td>
<td>通过 <a href="https://ip.186526.xyz">https://ip.186526.xyn</a> 查询 ip 资料</td>
</tr>
<tr>
<td><b><code>/whois</code></b></td>
<td><code>&lt;domain&gt;</code> | <u><i>reply_to(text(domain))</i></u></td>
<td>通过 <a href="https://ip.186526.xyz">https://ip.186526.xyn</a> 查询域名资料</td>
</tr>
<tr>
<td><b><code>/version</code></b></td>
<td></td>
<td>检查 Bot 版本信息</td>
</tr>
<tr>
<td><b><code>/runtime</code></b></td>
<td></td>
<td>获取 Bot 运行时信息(包括版本号)</td>
</tr>
<tr>
<td><b><code>/jrrp</code></b></td>
<td></td>
<td>获取 (假的) jrrp</td>
</tr>
</table>
<br>
<table>
<thead><tr><th colspan=3>管理员命令</th></tr></thead>
<thead>
<tr>
<th><u>/command</u></th>
<th><u>[usage]</u></th>
<th><u>"Description."</u></th>
</tr>
</thead>
<tr>
<td><b><code>/save</code></b></td>
<td></td>
2022-11-01 22:15:27 +08:00
<td>保存缓存数据到文件(仅<a href="../trusted">可信成员</a></td>
</tr>
<tr>
<td><b><code>/exit</code></b></td>
<td></td>
2022-11-01 22:15:27 +08:00
<td>关闭 Bot<a href="../trusted">可信成员</a></td>
</tr>
</table>
<br>
---
## Coming-SOON - 即将到来
<br>
<table>
<thead><tr><th colspan=3>主要命令</th></tr></thead>
<thead>
<tr>
<th><u>/command</u></th>
<th><u>[usage]</u></th>
<th><u>"Description."</u></th>
</tr>
</thead>
<tr>
<td><b><code>/encrypt</code></b></td>
<td><code>[algorithm] [(uppercase)]</code> with <u><i>reply_to(text)</i></u> | <code>[(l)]</code></td>
<td>通过指定算法加密回复的内容 (目前只支持文本)</td>
</tr>
</table>
<br>
<table>
<thead><tr><th colspan=3>额外命令</th></tr></thead>
<thead>
<tr>
<th><u>/command</u></th>
<th>info</th>
<th><u>[usage]</u></th>
</tr>
</thead>
<tr>
<td><b><code>/info</code></b></td>
<td>输出 Morny Coeur 的帮助信息。<br/>大部分是为了调试使用,目前也只支持了列出 coeur 中定义的贴纸。</td>
<td><code>&lt;(stickers)[(.)ID]&gt;</code></td>
</tr>
</table>
<br>
---
## EXTra - 额外命令
<br>
<table>
<thead><tr><th colspan=3>额外命令</th></tr></thead>
<thead>
<tr>
<th><u>/command</u></th>
<th>info</th>
<th><u>[usage]</u></th>
</tr>
</thead>
<tr>
<td><b><code>/r</code></b></td>
<td>删除 Morny Coeur 回复的消息。<br/>借此可以清理掉误触发/不想留在历史记录中的 morny 的回复。清理消息会检查 morny 的那条消息是否是回复给你自己的,目前版本下,还会检查消息是否在 48h 以内48h以外的消息会被拒绝清除<small>我们目前正在考虑更改这一设定,如果对此有什么意见十分欢迎反馈</small>。对于不是 morny 的消息无效。</td>
<td><u><i>reply_to(morny)</i></u></td>
</tr>
<tr>
<td><b><code>/quit</code></b></td>
<td rowspan=2>仅仅是<s>人性化设计的</s> <code>/exit</code> 的匿名别名。</td>
</tr>
<tr>
<td><b><code>/stop</code></b></td>
</tr>
<tr>
<td><b><code>/start</code></b></td>
<td>作为 <code>/start</code> 的匿名别名,实现的原因是 Telegram <i>Start Messaging</i> 的默认命令。</td>
</tr>
<tr>
<td><b><code>/test</code></b></td>
<td>为了测试时候方便的一个占位命令。发行版本中并不会实现任何功能,目前来说它的效果就只是会回复一句:<br/><b>Just</b> a TEST command.</td>
</tr>
</table>
<br>
---
同时还有一些彩蛋小命令并未在此表中列出!