added EditorPresence
This commit is contained in:
@@ -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
|
||||
|
@@ -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())
|
||||
|
Reference in New Issue
Block a user