211 lines
4.6 KiB
Markdown
211 lines
4.6 KiB
Markdown
# 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><a href="./on"><code>/o</code></a></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><a href="./user"><code>/user</code></a></b></td>
|
||
<td><code><userid></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><text></code> | <u><i>reply_to(text)</i></u></td>
|
||
<td>检索文本内 nbnhhsh 词条</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td><b><code>/ip</code></b></td>
|
||
<td><code><ip></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><domain></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>/encrypt</code></b></td>
|
||
<td><code>[algorithm] [(uppercase)]</code> with <u><i>reply_to(text)</i></u> | <code>[(l)]</code></td>
|
||
<td>通过指定算法加密回复的内容 (目前只支持文本)</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td><b><code>/info</code></b></td>
|
||
<td><code>[(stickers)[(.)ID]|runtime|version]</code></td>
|
||
<td>输出当前 Morny 的各种信息</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td><b><code>/jrrp</code></b></td>
|
||
<td></td>
|
||
<td>获取 (假的) jrrp</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td><b><code>/install</code></b></td>
|
||
<td></td>
|
||
<td>抽取一个神秘盒子</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>
|
||
<td>保存缓存数据到文件(仅<a href="../trusted">可信成员</a>)</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td><b><code>/exit</code></b></td>
|
||
<td></td>
|
||
<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>
|
||
|
||
</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>
|
||
|
||
</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>/version</code></b></td>
|
||
<!-- <td>检查 Bot 版本信息。</td> -->
|
||
<td rowspan=2 markdown=1>这两个命令已经合并到了 `/info` 成为其子命令存在。两个命令(未合并时的使用方法)作为兼容或是隐藏别名仍然可用。
|
||
</td>
|
||
<td></td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td><b><code>/runtime</code></b></td>
|
||
<!-- <td>获取 Bot 运行时信息(包括版本号)</td> -->
|
||
<td></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>/hello</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>
|