From a9dc735d014958302cdfbaa2d09890bd32e38769 Mon Sep 17 00:00:00 2001 From: rhearmas <34490428+qu-ota@users.noreply.github.com> Date: Fri, 20 Dec 2019 18:24:12 -0500 Subject: [PATCH] add noping option --- commands/Utility/getrandom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Utility/getrandom.js b/commands/Utility/getrandom.js index 758227d..d55d502 100644 --- a/commands/Utility/getrandom.js +++ b/commands/Utility/getrandom.js @@ -117,7 +117,7 @@ exports.run = async (client, message, args, level) => { for(cidx in chosen) { let theChose = chosen[cidx]; - out.push(`${theChose.user.tag} (${theChose.user})`); + out.push(`${theChose.user.tag} ${args[4] && args[4] === "-noping" ? "" : `(${theChose.user})`}`); } message.channel.send(`**I've selected these people:**\n${out.join("\n")}${eout.length < 1 ? '' : `\n\n**Excluded from drawing:**\n${eout.join("\n")}`}`);