Thanks to visit codestin.com
Credit goes to docs.streamer.bot

EnableAction

Enables an action, by name

Signature

public void EnableAction(string actionName)

Parameters

actionName
string required

No description provided.

Return Type

void

Example

using System;
public class CPHInline
{
    public bool Execute()
    {
        //Set action name you want to enable
        string actionName = "Streamer.bot Docs Action";
        
        //Enable action by name
        CPH.EnableAction(actionName);         
        return true;
    }
}