TwitchLib.Unity
TwitchLib.Unity copied to clipboard
does not have the correct return type.
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}");
}