Skip to content

Commit

Permalink
Standardize command naming
Browse files Browse the repository at this point in the history
  • Loading branch information
acdvs committed Jul 2, 2020
1 parent 9973e69 commit 77043d2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/commands/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = {
help: require('./help'),
getDeals: require('./getDeals'),
getWishlist: require('./getWishlist'),
deals: require('./deals'),
wishlist: require('./wishlist'),
ignoredSellers: require('./ignoredSellers')
};
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ bot.on('message', async (msg) => {
commands.help(msg);
break;
case C_DEALS:
if (options) await commands.getDeals(msg, options, settings.ignoredSellers);
if (options) await commands.deals(msg, options, settings.ignoredSellers);
break;
case C_WISHLIST:
if (options) await commands.getWishlist(msg, options);
if (options) await commands.wishlist(msg, options);
break;
case C_IGNORED_SELLERS:
await commands.ignoredSellers(msg, options, settings);
Expand Down

0 comments on commit 77043d2

Please sign in to comment.