From e55e71c8c2ee5fc6541eed04e9b684c6167e8f07 Mon Sep 17 00:00:00 2001
From: Ninjune <enderknight537@gmail.com>
Date: Wed, 26 Oct 2022 22:45:52 -0500
Subject: 1.5.0 Release

---
 commands/toggle.js | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 commands/toggle.js

(limited to 'commands/toggle.js')

diff --git a/commands/toggle.js b/commands/toggle.js
new file mode 100644
index 0000000..a5e0ec2
--- /dev/null
+++ b/commands/toggle.js
@@ -0,0 +1,9 @@
+import constants from "../util/constants"
+const PREFIX = constants.PREFIX
+
+export function toggle()
+{
+    constants.data.cwToggle = !constants.data.cwToggle
+    constants.data.save()
+    ChatLib.chat(`${PREFIX}&bSet gui to: &3${constants.data.cwToggle}`)
+}
\ No newline at end of file
-- 
cgit