Create an action that will give a member a Discord role.
||Discord~Role||The role to give.|
Get role ID of current configured role.
Update the role with a new value.
<static> create(client, id, obj)
Create action from save data.
Name Type Description
Discord~Client Bot client context to get object references.
string Guild ID this action is for.
object The parsed data from file.
Returns:The created action, null if unable to find the given role.