From 3f1d67ed6fa0c3dbe622d70e573d75aa267f7310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=81uczko?= Date: Fri, 10 Jan 2020 00:28:47 +0100 Subject: [PATCH 1/5] added channel list event --- docs/events.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/events.md b/docs/events.md index 6ab21563..bb9526fa 100644 --- a/docs/events.md +++ b/docs/events.md @@ -124,6 +124,17 @@ Debugging messages. ~~~ +**channel list** +~~~javascript +{ + channel: '#channel', + num_users: 123; + topic: 'My topic'; + tags: {}; +} +~~~ + + **channel info** ~~~javascript { From 907686a8dca33bb71472c017f115856019b9bdae Mon Sep 17 00:00:00 2001 From: piotrluczko Date: Fri, 10 Jan 2020 01:09:29 +0100 Subject: [PATCH 2/5] added channel list start, channel list end --- docs/events.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/events.md b/docs/events.md index bb9526fa..3346031d 100644 --- a/docs/events.md +++ b/docs/events.md @@ -124,6 +124,12 @@ Debugging messages. ~~~ +**channel list start** +~~~javascript +{} +~~~ + + **channel list** ~~~javascript { @@ -135,6 +141,12 @@ Debugging messages. ~~~ +**channel list end** +~~~javascript +{} +~~~ + + **channel info** ~~~javascript { From 27386b6bf028dae95e034f8c9006c02f4d8f9347 Mon Sep 17 00:00:00 2001 From: piotrluczko Date: Sat, 11 Jan 2020 13:37:46 +0100 Subject: [PATCH 3/5] updated channel list to array --- docs/events.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/docs/events.md b/docs/events.md index 3346031d..919879ce 100644 --- a/docs/events.md +++ b/docs/events.md @@ -132,12 +132,21 @@ Debugging messages. **channel list** ~~~javascript -{ - channel: '#channel', - num_users: 123; - topic: 'My topic'; - tags: {}; -} +[ + { + channel: '#channel1', + num_users: 123, + topic: 'My topic', + tags: {}, + }, + { + channel: '#channel2', + num_users: 456, + topic: 'My topic', + tags: {}, + }, + ... +] ~~~ @@ -147,7 +156,7 @@ Debugging messages. ~~~ -**channel info** +**channel info ** ~~~javascript { channel: '#channel', From 6a4f9d6d57724dfa6f555f82b39ca956bbc46bd3 Mon Sep 17 00:00:00 2001 From: piotrluczko Date: Tue, 14 Jan 2020 00:19:54 +0100 Subject: [PATCH 4/5] fixed styling --- docs/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/events.md b/docs/events.md index 919879ce..829ea9e5 100644 --- a/docs/events.md +++ b/docs/events.md @@ -156,7 +156,7 @@ Debugging messages. ~~~ -**channel info ** +**channel info** ~~~javascript { channel: '#channel', From 967f06d47a50ba3ff29721b93b93b93d2a1699a5 Mon Sep 17 00:00:00 2001 From: piotrluczko Date: Tue, 14 Jan 2020 00:20:59 +0100 Subject: [PATCH 5/5] fixed styling --- docs/events.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/events.md b/docs/events.md index 829ea9e5..4d8f81be 100644 --- a/docs/events.md +++ b/docs/events.md @@ -126,7 +126,7 @@ Debugging messages. **channel list start** ~~~javascript -{} +{ } ~~~ @@ -152,7 +152,7 @@ Debugging messages. **channel list end** ~~~javascript -{} +{ } ~~~