Skip to content

Parent.AddPoints or Parent.RemovePoints for YouTube viewers #12

@JanttuFi

Description

@JanttuFi

success = Parent.AddPoints(ytID, display_name, 100)
Parent.Log(ScriptName, "AddPoints result: {}, ytID: {}, display_name: {}".format(success, ytID, display_name))

In this example, ytID is user's YouTube channel ID, Display name is their name as shown in Streamlab's chatbot database -> success will be False and no points added. Same goes for RemovePoints. This only seems to happen when a python script is trying to add points to a YouTube Viewer. Command like display_name = Parent.GetDisplayName(ytID) does work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions