unBanUser


General

unBanUser unbans a certain user by their userID. Reason can be specified.


Usage

Client:unBanUser(<string> userId, (string) reason)
Returns: <User> user


Limitations

See discordGuild PATCH.


Example

print(Client:unBanUser("287873849738002434", "That was a test").username)

Back to top