aboutsummaryrefslogtreecommitdiff
path: root/commands/help.js
diff options
context:
space:
mode:
authorNinjune <enderknight537@gmail.com>2022-12-22 03:21:02 -0600
committerNinjune <enderknight537@gmail.com>2022-12-22 03:21:02 -0600
commit329dccf50ed5e9f87531580f679522238b6a019b (patch)
tree3053852d322db744822a7dd2a05fd59d2b1e90b7 /commands/help.js
parent1ffc0a89be42fcde95a04a87cc00dbc347b27ece (diff)
downloadcoleweight-329dccf50ed5e9f87531580f679522238b6a019b.tar.gz
coleweight-329dccf50ed5e9f87531580f679522238b6a019b.tar.bz2
coleweight-329dccf50ed5e9f87531580f679522238b6a019b.zip
v1.8.3
Diffstat (limited to 'commands/help.js')
-rw-r--r--commands/help.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/commands/help.js b/commands/help.js
index 8e06b51..f46cc2c 100644
--- a/commands/help.js
+++ b/commands/help.js
@@ -3,6 +3,7 @@ const PREFIX = "◆"
export function help()
{
ChatLib.chat("&b--------------[ &a&lColeweight &b]--------------")
+ ChatLib.chat("&7(Hover over command to see usage.)")
ChatLib.chat(ChatLib.getCenteredText("&a&lInfo"))
helpCommand("", "Gets Coleweight of specified user", "(username)")
helpCommand("help", "This menu.", "")
@@ -23,11 +24,11 @@ export function help()
helpCommand("yog", "Shows instructions for yog waypoints.", "[toggle]")
helpCommand("divans", "Guide for setting up waypoints for Mines of Divan treasures.", "[toggle]")
ChatLib.chat(ChatLib.getCenteredText("&a&lMiscellaneous"))
+ helpCommand("drawline", "Draws a line to coords. (y defaults to the player's y)", "(x) [y] (z)")
ChatLib.chat(`&a${PREFIX} /fetchdiscord (username) => &bGets discord of username (if linked)`)
- ChatLib.chat("&b------------------------------------------")
+ ChatLib.chat("&b--------------------------------------------")
}
-// Made by Almighty Stylla <3
export function helpCommand(command, desc, usage)
{
ChatLib.chat(new TextComponent(`&a${PREFIX} /cw ${command} => &b${desc}`).setHoverValue(`${"/cw " + command + " " + usage}`))