Browse Source

Added some basic help commands to raffle/bet/auction.

master
Uno Polak 11 years ago
parent
commit
d0e0441fbf
  1. 9
      lib/currency.js

9
lib/currency.js

@ -162,6 +162,9 @@ Currency.prototype.commands = function (data) {
case 'cancel':
__self.auction('cancel');
break;
case 'help':
__self.irc.emit('message', {message:__self.pre_text + '!' + __self.config.currency.toLowerCase() + ' auction open/close/cancel/draw'});
break;
}
}
@ -200,6 +203,9 @@ Currency.prototype.commands = function (data) {
case 'restore':
__self.raffle('restore');
break;
case 'help':
__self.irc.emit('message', {message:__self.pre_text + '!' + __self.config.currency.toLowerCase() + ' raffle open <ticket cost> <tickets per user>/close/cancel/draw/restore'});
break;
}
}
@ -225,6 +231,9 @@ Currency.prototype.commands = function (data) {
case 'cancel':
__self.bets('cancel');
break;
case 'help':
__self.irc.emit('message', {message:__self.pre_text + '!' + __self.config.currency.toLowerCase() + ' bet open <option A> <option B> <etc>/close/pool/winner <option>/cancel'});
break;
}
}

Loading…
Cancel
Save