-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
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
Labels
No labels