From 526998146bb66b0aa5c1ce61e3867debdd666976 Mon Sep 17 00:00:00 2001 From: Matthew Ray Date: Thu, 13 Dec 2018 15:17:15 -0500 Subject: [PATCH] Update whois.js --- commands/whois.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/commands/whois.js b/commands/whois.js index d8ed57d..abe8f66 100644 --- a/commands/whois.js +++ b/commands/whois.js @@ -87,20 +87,23 @@ exports.run = function(client, message, args, level) { return __awaiter(_this, v var staffArray = []; if (botuser.id === '278620217221971968') { staffArray.push('Founder & Creator'); - } + } // 310092788630945793 if (['278620217221971968', '239261547959025665', '282586181856657409', '155698776512790528'].indexOf(botuser.id) >= 0) { staffArray.push('Developer'); } if (['213632190557192192', '278620217221971968', '239261547959025665', '282586181856657409', '155698776512790528', '233667448887312385'].indexOf(botuser.id) > 0) { staffArray.push('Community Administrator'); } - if (['105412668122214400', '233667448887312385', '155698776512790528', '156450671338586112', '427479645395353600', '282586181856657409', '223391425302102016', '310092788630945793', '335871787453775873', '154497072148643840', '284713468790308885', '208688963936845824', '454749660041707531', '304594274182496258', '239261547959025665', '193118227348324363', '278620217221971968', '213632190557192192'].indexOf(botuser.id) > 0) { + if (['208688963936845824', '454749660041707531', '239261547959025665', '278620217221971968', '213632190557192192'].indexOf(botuser.id) > 0) { + staffArray.push('Community Public Relations'); + } + if (['105412668122214400', '233667448887312385', '155698776512790528', '156450671338586112', '427479645395353600', '282586181856657409', '223391425302102016', '335871787453775873', '154497072148643840', '284713468790308885', '208688963936845824', '454749660041707531', '304594274182496258', '239261547959025665', '193118227348324363', '278620217221971968', '213632190557192192', '179908288337412096'].indexOf(botuser.id) > 0) { staffArray.push('Community Staff'); } - if (['213632190557192192', '278620217221971968', '454749660041707531', '310092788630945793', '282586181856657409', '427479645395353600', '155698776512790528', '233667448887312385'].indexOf(botuser.id) > 0) { + if (['213632190557192192', '278620217221971968', '454749660041707531', '282586181856657409', '427479645395353600', '155698776512790528', '233667448887312385', '179908288337412096'].indexOf(botuser.id) > 0) { staffArray.push('Support & Assistance'); } - if (['213632190557192192', '239261547959025665', '154497072148643840', '282586181856657409', '156450671338586112', '155698776512790528', '193118227348324363'].indexOf(botuser.id) > 0) { + if (['213632190557192192', '239261547959025665', '154497072148643840', '282586181856657409', '156450671338586112', '155698776512790528', '193118227348324363', '179908288337412096'].indexOf(botuser.id) > 0) { staffArray.push('Contributor'); } if (['425023068004548618', '193118227348324363'].indexOf(botuser.id) >= 0) { @@ -166,9 +169,10 @@ exports.run = function(client, message, args, level) { return __awaiter(_this, v } options = { timeZone: 'America/New_York', hour12: true }; embed = new Discord.RichEmbed(); - embed.setAuthor(botuser.displayName, botuser.user.avatarURL); + embed.setAuthor(botuser.user.username, botuser.user.avatarURL); + embed.setTitle(`<@!${botuser.id}>`); if (bot === 'Yes') { - embed.setTitle('<:bot:515695746595684374>'); + embed.setTitle(`<@!${botuser.id}> | <:bot:515695746595684374>`); } embed.setThumbnail(botuser.user.avatarURL); if (botuser.displayColor) {