mirror of
https://github.com/AsgardEternal/squad-js-map-vote.git
synced 2025-01-23 23:03:51 -06:00
better warns for help
This commit is contained in:
parent
b69074df6a
commit
8a57f65b71
@ -205,11 +205,11 @@ export default class MapVote extends BasePlugin {
|
|||||||
this.broadcastNominations();
|
this.broadcastNominations();
|
||||||
return;
|
return;
|
||||||
case "help": //displays available commands
|
case "help": //displays available commands
|
||||||
await this.msgDirect(steamID, `Map voting system built by JetDave for MAD`);
|
let msg = "";
|
||||||
await this.msgDirect(steamID, `!vote <choices|number|results>`);
|
msg += (`!vote <choices|number|results>\n`);
|
||||||
if (!isAdmin) return;
|
if (isAdmin) msg += (`!vote <start|restart|cancel|broadcast> (admin only)\n`);
|
||||||
|
|
||||||
await this.msgDirect(steamID, `!vote <start|restart|cancel|broadcast> (admin only)`);
|
await this.msgDirect(steamID, msg + `\nMapVote SquadJS plugin built by JetDave`);
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
//give them an error
|
//give them an error
|
||||||
|
Loading…
x
Reference in New Issue
Block a user