dc_remove_role

dc_remove_role(user, role, reason?)#

Blocking function

This function is blocking, meaning it can freeze the game. Use it in a task to avoid freezing your game.

Removes a role to a user.

If provided, reason will be shown in the audit log of your server.

Throws an exception on failure