From 8b37c907e579c1734344af5e302892cb841c7c5e Mon Sep 17 00:00:00 2001 From: issork Date: Tue, 11 Apr 2023 19:25:06 +0200 Subject: [PATCH] removed whisper testing remains --- Gift.gd | 2 +- Node.tscn | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gift.gd b/Gift.gd index 20b4e34..2dfe7d7 100644 --- a/Gift.gd +++ b/Gift.gd @@ -76,7 +76,7 @@ func _ready() -> void: # chat("TEST", initial_channel) # Send a whisper to target user - whisper("TEST", "issork") +# whisper("TEST", "issork") func on_event(type : String, data : Dictionary) -> void: match(type): diff --git a/Node.tscn b/Node.tscn index 3ef5d81..7078594 100644 --- a/Node.tscn +++ b/Node.tscn @@ -15,7 +15,7 @@ grow_vertical = 2 [node name="Gift" type="Node" parent="."] script = ExtResource("1") -scopes = Array[String](["chat:edit", "chat:read", "moderator:read:followers", "user:manage:whispers"]) +scopes = Array[String](["chat:edit", "chat:read", "moderator:read:followers"]) [node name="ChatContainer" type="VBoxContainer" parent="."] unique_name_in_owner = true