Update doc/prefixing.md

This commit is contained in:
Nova Cat 2024-12-28 12:50:13 -08:00
parent 02dd840fa3
commit 2dd541de98

View file

@ -9,6 +9,17 @@ In some commands (like PRIVMSG, TOPIC, USER, NOTICE, etc), the client needs to a
↗️ PRIVMSG foo this is a very cool message
🔀 nick!ident@host PRIVMSG foo :this
```
The server will only detect the first word
❌ Your client shouldn't do this either:
```
↗️ PRIVMSG foo: this is a very cool message
↙️ :server 401 nick foo: :No such nick/channel
```
The server will think that the nickname ends with a colon.
✅ Here's what it should do:
```
↗️ PRIVMSG foo :this is a very cool message