kick(member) {
        if (/sysop|chatmoderator/.test(this.users.get(this._client.username).groups)) {
            if (!/sysop|chatmoderator/.test(this.users.get(member).groups)) {
                this.send({
                    attrs: {
                        msgType: "command",
                        command: "kick",
                        userToKick: member
                    }
                });
            } else {
                Promise.reject("Client is lower or same in rights");
            }
        } else {
            Promise.reject("Missing permissions");
        }
    }
/**
     * Kick a member from the room
     * @param {String} member The name of the member
     */
Kick a member from the room
@param {String} member The name of the member
Kick a member from the room @param { String } member The name of the member
kick(member) {
        if (/sysop|chatmoderator/.test(this.users.get(this._client.username).groups)) {
            if (!/sysop|chatmoderator/.test(this.users.get(member).groups)) {
                this.send({
                    attrs: {
                        msgType: "command",
                        command: "kick",
                        userToKick: member
                    }
                });
            } else {
                Promise.reject("Client is lower or same in rights");
            }
        } else {
            Promise.reject("Missing permissions");
        }
    }
kick ( member ) { if ( / sysop|chatmoderator / . test ( this . users . get ( this . _client . username ) . groups ) ) { if ( ! / sysop|chatmoderator / . test ( this . users . get ( member ) . groups ) ) { this . send ( { attrs : { msgType : "command" , command : "kick" , userToKick : member } } ) ; } else { Promise . reject ( "Client is lower or same in rights" ) ; } } else { Promise . reject ( "Missing permissions" ) ; } }
Kick a member from the room
 @param {String} member The name of the member
Kick a member from the room @param { String } member The name of the member