向用户或频道发送轻量级通知. 与 /msg,通知不要打开PM窗口 在接收方一边,不要触发通知的声音。
语法
/notice <target> <message>
参数
target
——一个昵称或#channel发送通知给.
message
——通知文本.
如何运作
通知中出现了一个独特的
-你的尼克... -对
前缀( 而不是通常的) <YourNick>) (中文(简体) ). 它们是为自动信息和信息通告设计的,不应该打断接收者. 频道通知总是出现在频道窗口中. 用户通知按照收件人的
/notice_routing
policy. User notices are routed to the active window.
To send a user notice from the UI, right-click a nickname in the nicklist or in chat and choose Send Notice. The main input switches to a one-shot notice composer.
规则和限制
- 既需要目标,也需要信息
- 不创建 PM 窗口或对话框侧边栏条目
- 不触发通知声音或亮度
-
/notice_routingshows the fixed active-window routing policy
实例
/notice Alice Check out #project /notice #elixir Server maintenance in 30 minutes
另见
/notice_routing · /msg · /me · 通知