mirror of https://github.com/deavminet/skippy.git
Added member count next to channel listing
This commit is contained in:
parent
ddc23ba598
commit
80517277be
2
dub.json
2
dub.json
|
@ -4,7 +4,7 @@
|
|||
],
|
||||
"copyright": "Copyright © 2020, Tristan B. Kildaire",
|
||||
"dependencies": {
|
||||
"libdnet": "~>0.0.2",
|
||||
"libdnet": "~>0.0.3",
|
||||
"tristanable": "~>0.0.33"
|
||||
},
|
||||
"description": "dnet client",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"fileVersion": 1,
|
||||
"versions": {
|
||||
"bformat": "1.0.8",
|
||||
"libdnet": "0.0.2",
|
||||
"libdnet": "0.0.3",
|
||||
"tristanable": "0.0.33"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -161,7 +161,9 @@ void commandLine()
|
|||
writeln("Channels ("~to!(string)(channels.length)~" total)\n");
|
||||
foreach(string channel; channels)
|
||||
{
|
||||
writeln("\t"~channel);
|
||||
write("\t"~channel~" (");
|
||||
ulong memberCount = dclient.getMemberCount(channel);
|
||||
writeln(to!(string)(memberCount)~")");
|
||||
}
|
||||
}
|
||||
/* If the command is `join` */
|
||||
|
|
Loading…
Reference in New Issue