additional info on hard pulls

pull/29/head
Matthew 2020-09-17 23:07:47 -04:00
parent 424d01e345
commit f62edd18cd
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 11 additions and 0 deletions

View File

@ -144,6 +144,17 @@ export default class Score extends Command {
} else { } else {
embed.setFooter(this.client.user.username, this.client.user.avatarURL); embed.setFooter(this.client.user.username, this.client.user.avatarURL);
} }
if (args[1] === 'hard') {
await message.channel.createMessage({ embed });
await message.channel.createMessage('***===BEGIN ADDITIONAL INFORMATION===***');
await this.client.commands.get('whois').run(message, [member.id]);
await this.client.commands.get('notes').run(message, [member.id]);
const whoisMessage = await message.channel.createMessage(`=whois ${member.user.id} --full`);
await whoisMessage.delete();
const modlogsMessage = await message.channel.createMessage(`=modlogs ${message.author.id}`);
await modlogsMessage.delete();
return await message.channel.createMessage('***===END ADDITIONAL INFORMATION===***');
}
return message.channel.createMessage({ embed }); return message.channel.createMessage({ embed });
} catch (err) { } catch (err) {
return this.client.util.handleError(err, message, this); return this.client.util.handleError(err, message, this);