Skip to content

does not have the correct return type. #72

@Valxor

Description

@Valxor

Hi i have an issue with client event :
I tried so many things and i am stuck about few hours ago

"'void TwitchChatManager.Client_OnJoinedChannel(object, OnJoinedChannelArgs)' does not have the correct return type."


 
private void Start()
{
    ConnectionCredentials credentials = new ConnectionCredentials(botUsername, oauthToken);
    client = new TwitchClient();
    client.Initialize(credentials, channelName);

    // event
    client.OnLog += Client_OnLog;
    client.OnJoinedChannel += Client_OnJoinedChannel;
    client.Connect();
}


 private void Client_OnJoinedChannel(object sender, OnJoinedChannelArgs e)
 {
     Debug.Log($"Connected to :  {e.Channel}");
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions