diff --git a/doc/prefixing.md b/doc/prefixing.md new file mode 100644 index 0000000..08ef3b6 --- /dev/null +++ b/doc/prefixing.md @@ -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 +``` \ No newline at end of file