Skip to content

Documentation needed: Update custom triggers documentation #119

@Whipstickgostop

Description

@Whipstickgostop

Describe the missing documentation
Add additional context for registering custom triggers within Init()

Where do you think this documentation should be included? An existing page or new page?
https://docs.streamer.bot/guide/triggers#custom-triggers

Additional context
From @Rhondi Discord Post

When registering custom triggers, it's best practice to register them in the public void Init() method. And also adjust the Execute C# Code sub-action to Precompile on Application Start

image

public void Init()
{
    CPH.RegisterCustomTrigger("New Twitch Clip Found", "clip_found", new[] {"Twitch"});
}

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions