diff options
author | Ninjune <enderknight537@gmail.com> | 2022-10-26 22:45:52 -0500 |
---|---|---|
committer | Ninjune <enderknight537@gmail.com> | 2022-10-26 22:45:52 -0500 |
commit | e55e71c8c2ee5fc6541eed04e9b684c6167e8f07 (patch) | |
tree | 4bb43bc3aa158a2aa207470b37bc36556081f63a /commands/toggle.js | |
parent | f83001bc4a3543cdcd594001e7e6a7aeea749ba1 (diff) | |
download | coleweight-e55e71c8c2ee5fc6541eed04e9b684c6167e8f07.tar.gz coleweight-e55e71c8c2ee5fc6541eed04e9b684c6167e8f07.tar.bz2 coleweight-e55e71c8c2ee5fc6541eed04e9b684c6167e8f07.zip |
1.5.0 Release
Diffstat (limited to 'commands/toggle.js')
-rw-r--r-- | commands/toggle.js | 9 |
1 files changed, 9 insertions, 0 deletions
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 |