From 11cecc6ed0a032e07bbf892a096a650c748f877b Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 28 Dec 2024 12:44:53 -0800 Subject: [PATCH] Add doc/prefixing.md --- doc/prefixing.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/prefixing.md 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