Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not have the correct return type. #72

Open
Ulrborg opened this issue Jan 6, 2024 · 0 comments
Open

does not have the correct return type. #72

Ulrborg opened this issue Jan 6, 2024 · 0 comments

Comments

@Ulrborg
Copy link

Ulrborg commented Jan 6, 2024

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}");
 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant