README.md tweak

This commit is contained in:
2021-03-18 04:41:00 +11:00
parent 7333fa4211
commit c60209f45e
-10
View File
@@ -26,13 +26,3 @@ Chat Commands:
/mute username minutes [reason] -> Mutes a specified user for X minutes; only available to admins or mods /mute username minutes [reason] -> Mutes a specified user for X minutes; only available to admins or mods
/unmute username - Unmutes the previously muted user; only available to admins or mods /unmute username - Unmutes the previously muted user; only available to admins or mods
``` ```
```
//user count
let room = io.sockets.adapter.rooms['my_room'];
let count = room.length;
```
https://socket.io/docs/v3/middlewares/