|
|
@ -136,7 +136,7 @@ Currency.prototype.start = function () { |
|
|
|
Currency.prototype.commands = function (data) { |
|
|
|
var __self = this, |
|
|
|
broadcaster_bot_initiated = __self.irc.caller(data[0]).toLowerCase() === __self.irc.config.broadcaster.toLowerCase() || __self.irc.caller(data[0]).toLowerCase() === __self.irc.config.name.toLowerCase(), |
|
|
|
moderator_initiated = __self.irc.mods.indexOf(__self.irc.caller(data[0])) > 0; |
|
|
|
moderator_initiated = __self.irc.mods.indexOf(__self.irc.caller(data[0])) >= 0; |
|
|
|
|
|
|
|
// handle !<currency> commands
|
|
|
|
if (data[3].slice(1) === '!' + __self.config.currency.toLowerCase()) { |
|
|
|