向用戶或頻道發送輕量級通知. 與 /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 · 通知