Update doc/formatting.md

This commit is contained in:
Nova Cat 2024-12-27 23:28:17 -08:00
parent 4bbc0c8008
commit 3867b9d367

View file

@ -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.
> ``` > ```