added option to manage token automatically

This commit is contained in:
2025-03-24 17:45:00 +01:00
parent 8e029178cd
commit 91d592c484
7 changed files with 147 additions and 23 deletions

View File

@@ -10,9 +10,6 @@ script/source = "extends Node
@onready var animation_player: AnimationPlayer = $Panel/TextureRect/AnimationPlayer
func _ready():
DiscordUtil.connect(\"activity_join_request\",_on_activity_join_request)
func _process(_delta) -> void:
if(false):
$Panel/TextureRect.self_modulate = Color(\"#3eff8d\")

View File

@@ -43,8 +43,9 @@ text = "[center][font s=60]DiscordUtil Test"
script = ExtResource("6_ujijw")
[node name="DiscordConnector" type="DiscordConnector" parent="."]
app_id = 1099618430065324082
auto_connect = true
app_id = 1099618430065324082
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"]