added EditorPresence

This commit is contained in:
Yannik
2023-05-16 23:38:51 +02:00
parent 7e8c1cc7bb
commit fd5a59d1eb
6 changed files with 40 additions and 17 deletions

View File

@@ -1,5 +1,8 @@
## This always needs to run in the background if you want to comunicate with the discord client.
extends Node
@export var is_running: bool =false
func _process(delta) -> void:
discord_sdk.coreupdate()
is_running = true

View File

@@ -1,7 +1,6 @@
## This is a Debug Node wich will show (only if the project runs) some usefull info and buttons/input
extends Node
const DebugNodeGroup = preload("res://addons/discord-sdk-gd/nodes/Debug.tscn")
func _ready():
func _ready() -> void:
const DebugNodeGroup: PackedScene = preload("res://addons/discord-sdk-gd/nodes/Debug.tscn")
add_child(DebugNodeGroup.instantiate())