issork / gift

Godot IRC For Twitch addon
MIT License
150 stars 23 forks source link

Invalid type in function 'connect_to_eventsub' in base 'Node ()'. Cannot convert argument 1 from Nil to String. #18

Closed FromCollin closed 1 year ago

FromCollin commented 1 year ago

Here is the error I got after running the gift example project for awhile:

Invalid type in function 'connect_to_eventsub' in base 'Node ()'. Cannot convert argument 1 from Nil to String.

This was at line 351 in gift_node.gd - connect_to_eventsub(await(events_reconnect))

I also get a bunch of empty print statements { } over and over as it runs but this might be intentional.

issork commented 1 year ago

The print was an overlook on my side, it printed the brackets on every keepalive message. This should now be fixed, I had a remaining reconnect signal that emitted without a value for the reconnect url.