morny-book/command/on.md

24 lines
934 B
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.

# /o
> **检查是否在线**
## usage - 用法
**直接使用命令。**
**命令**不要求也不需要任何**参数**。
使用后,如果 bot **在线**,即会返回贴纸 **`sticker.ID_ONLINE_STATUS_RETURN`**
![a "Hello" sticker](https://stickers.sukazyo.cc/sticker/CAACAgEAAx0CW-CvvgAC5eBhhhODGRuu0pxKLwoQ3yMsowjviAACcycAAnj8xgVVU666si1utiIE.png)
如果 bot 当前正在**离线**状态,则**不会返回任何东西**。
<!-- ## alias: /start {#alias-start}
**`/o`** 命令也有一个**隐藏别名**是 **`/start`**。
这个**别名**是设计来向**初次使用**的用户打招呼的:在你**初次使用** Morny 时Morny 即会通过这个命令(**贴纸**)向你表示**问好**。
> `/start` 在 Telegram 中是在初次使用 bot 时用户会自动向 bot 发送的指令。因此作为 bot 实现这个指令即可以向初次使用的用户发送一些消息——即向用户问好。 -->