git » sdk » commit 928268a

Command menu should show up for settings

author Stephen Paul Weber
2026-06-24 02:59:13 UTC
committer Stephen Paul Weber
2026-06-24 02:59:13 UTC
parent ef2829663f76e8a07f24d56fb6050cc94e5da2fc

Command menu should show up for settings

borogove/Chat.hx +6 -0

diff --git a/borogove/Chat.hx b/borogove/Chat.hx
index 4424a51..193701b 100644
--- a/borogove/Chat.hx
+++ b/borogove/Chat.hx
@@ -1687,6 +1687,12 @@ class Channel extends Chat {
 		});
 	}
 
+	override public function hasCommands() {
+		if (isOwner()) return true;
+
+		return super.hasCommands();
+	}
+
 	/**
 		Can the user set the photo of this channel?
 	**/