Add doc/prefixing.md
This commit is contained in:
parent
deacaba010
commit
11cecc6ed0
1 changed files with 16 additions and 0 deletions
16
doc/prefixing.md
Normal file
16
doc/prefixing.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
[⬅️ Back to `index`](index.md)
|
||||
|
||||
# Colon prefixing
|
||||
|
||||
In some commands (like PRIVMSG, TOPIC, USER, NOTICE, etc), the client needs to add a colon before the content (NOT after the command)
|
||||
|
||||
❌ Your client shouldn't do this:
|
||||
```
|
||||
↗️ PRIVMSG foo this is a very cool message
|
||||
🔀 nick!ident@host PRIVMSG foo :this
|
||||
```
|
||||
✅ Here's what it should do:
|
||||
```
|
||||
↗️ PRIVMSG foo :this is a very cool message
|
||||
🔀 nick!ident@host PRIVMSG foo :this is a very cool message
|
||||
```
|
Loading…
Reference in a new issue