more signals
This commit is contained in:
@@ -2,3 +2,12 @@ extends DiscordConnector
|
||||
|
||||
func _on_user_connected(access_token: String, refresh_token: String, expires_in: int) -> void:
|
||||
print_debug("Access token: %s \nRefresh Token: %s \nExpires in: %s" % [access_token, refresh_token, expires_in])
|
||||
|
||||
func _on_user_updated() -> void:
|
||||
print_debug("USER UPDATED")
|
||||
|
||||
func _on_user_connection_failed(error: String) -> void:
|
||||
push_error("User connection failed! Error: %s", error)
|
||||
|
||||
func _on_user_update_failed(error: String) -> void:
|
||||
push_error("User update failed! Error: %s", error)
|
||||
|
@@ -49,3 +49,6 @@ encryption_key = "H8jOL;.+F9B7&/jLb:Yr_,V'He/nRQw.wII8GE1$l_P,&YG)Yc"
|
||||
script = ExtResource("3_h2yge")
|
||||
|
||||
[connection signal="user_connected" from="DiscordConnector" to="DiscordConnector" method="_on_user_connected"]
|
||||
[connection signal="user_connection_failed" from="DiscordConnector" to="DiscordConnector" method="_on_user_connection_failed"]
|
||||
[connection signal="user_update_failed" from="DiscordConnector" to="DiscordConnector" method="_on_user_update_failed"]
|
||||
[connection signal="user_updated" from="DiscordConnector" to="DiscordConnector" method="_on_user_updated"]
|
||||
|
Reference in New Issue
Block a user