Update doc/formatting.md
This commit is contained in:
parent
4bbc0c8008
commit
3867b9d367
1 changed files with 2 additions and 3 deletions
|
@ -4,7 +4,8 @@
|
||||||
|
|
||||||
IRC is quite a hassle to understand, so the first thing to know about the protocol is the **socket** and **server/client**.
|
IRC is quite a hassle to understand, so the first thing to know about the protocol is the **socket** and **server/client**.
|
||||||
|
|
||||||
TLDR:
|
It's quite simple on client-side, but server-side has to supply more info:
|
||||||
|
|
||||||
```
|
```
|
||||||
↗️ PRIVMSG target :content
|
↗️ PRIVMSG target :content
|
||||||
🔀 :nick!ident@host PRIVMSG target :content
|
🔀 :nick!ident@host PRIVMSG target :content
|
||||||
|
@ -14,8 +15,6 @@ TLDR:
|
||||||
^ Replace nick with the nickname of the current connection.
|
^ Replace nick with the nickname of the current connection.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
> [!CAUTION]
|
> [!CAUTION]
|
||||||
> If the command has content, the colon MUST be included, and is at the beginning of the content, not the end of the command/args.
|
> If the command has content, the colon MUST be included, and is at the beginning of the content, not the end of the command/args.
|
||||||
> ```
|
> ```
|
||||||
|
|
Loading…
Reference in a new issue