Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

[actions] moderateUnbanUser

Thedark1337 edited this page Aug 31, 2016 · 6 revisions

moderateUnbanUser(userID[, callback])

(2.1.0)

Unbans an user from the room. The bot needs to have manager permission or higher.


Parameters

userID number

The user's ID.

callback function (optional)

Callback function.


Returns

true if request queued; otherwise false


Example

bot.moderateUnbanUser('xxxxxxxxxxxxxxxxxxxxxxxx');
Clone this wiki locally