feat(*): Update help commands to use the correct command symbol from the config file rather than hard-coding one

This commit is contained in:
Josh Creek
2020-11-19 22:49:41 +00:00
parent d37b3f8225
commit 857ee29e10
+12 -12
View File
@@ -389,11 +389,11 @@ client.on('message', function (message) {
if (command === 'help') { if (command === 'help') {
let msg = ` let msg = `
The commands available to you are: The commands available to you are:
- !q - Join the queue - ${command}q - Join the queue
- !q <pokemon> <ign> - Join the queue (first player can set the pokemon and their in-game name) - ${command}q <pokemon> <ign> - Join the queue (first player can set the pokemon and their in-game name)
- !lq - Leave the queue - ${command}lq - Leave the queue
- !sq - Show the queue - ${command}sq - Show the queue
- !dc - Delete an adventure channel (only the captain can use this) - ${command}dc - Delete an adventure channel (only the captain can use this)
`; `;
message.channel.send(msg); message.channel.send(msg);
@@ -402,13 +402,13 @@ The commands available to you are:
if (command === 'adminhelp') { if (command === 'adminhelp') {
let msg = ` let msg = `
The commands available to you are: The commands available to you are:
- !q - Join the queue - ${command}q - Join the queue
- !q <pokemon> <ign> - Join the queue (first player can set the pokemon and their in-game name) - ${command}q <pokemon> <ign> - Join the queue (first player can set the pokemon and their in-game name)
- !lq - Leave the queue - ${command}lq - Leave the queue
- !sq - Show the queue - ${command}sq - Show the queue
- !cq - Clear the queue (admin-only, not to be shared with normal users) - ${command}cq - Clear the queue (admin-only, not to be shared with normal users)
- !ru - Remove a tagged user from the queue (admin-only, not to be shared with normal users) - ${command}ru - Remove a tagged user from the queue (admin-only, not to be shared with normal users)
- !dc - Delete an adventure channel (only the captain can use this) - ${command}dc - Delete an adventure channel (only the captain can use this)
`; `;
message.channel.send(msg); message.channel.send(msg);