Skip to content

Commit

Permalink
Changed Formatting
Browse files Browse the repository at this point in the history
- HelpCommand.js
- SetupCommand.js
  • Loading branch information
JeffreyBodin committed Feb 19, 2018
1 parent 4352d00 commit 76855a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 1 addition & 4 deletions Commands/HelpCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ var helpFileResponsesObjectMethod = function(client) {
if(message.content.toLowerCase() === cmdHelp) {
message.author.createDM(message.author.send(helpFile));
};
if(message.content.toLowerCase() === cmdHelp) {
if(message.content.toLowerCase() === cmdHelp + 'test') {
message.author.createDM(message.author.send('this is a TEST'));
};
});

client.on('message', message => {
if (message.isMemberMentioned(waldyBot) === true) {
message.author.createDM(message.author.send(helpFile));
};
Expand Down
4 changes: 0 additions & 4 deletions Commands/SetupCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ var setUpResponsesMethod = function(client) {
if(message.content.toLowerCase() === cmdSetUp) {
message.author.createDM(message.author.send(waldyBotAuthUrl));
}
});
client.on('message', message => {
if(message.content.toLowerCase() === cmdSetUp + ' ' + 'help') {
message.author.createDM(message.author.send(setUpFile));
}
});
client.on('message', message => {
if(message.content.toLowerCase() === cmdSetUp + ' ' + 'install') {
message.author.createDM(message.author.send(waldyBotAuthUrl));
}
Expand Down

0 comments on commit 76855a9

Please sign in to comment.