|
@ -352,6 +352,13 @@ Currency.prototype.commands = function (data) { |
|
|
if (broadcaster_bot_initiated || moderator_initiated) { |
|
|
if (broadcaster_bot_initiated || moderator_initiated) { |
|
|
// enable/disable currency requests
|
|
|
// enable/disable currency requests
|
|
|
switch (data[4]) { |
|
|
switch (data[4]) { |
|
|
|
|
|
case 'status': |
|
|
|
|
|
if (__self.streaming) { |
|
|
|
|
|
__self.irc.emit('message', {message:__self.pre_text + "Stream is online, " + __self.config.currency + " are being distributed!"}); |
|
|
|
|
|
} else { |
|
|
|
|
|
__self.irc.emit('message', {message:__self.pre_text + "Stream is offline :("}); |
|
|
|
|
|
} |
|
|
|
|
|
break; |
|
|
case 'on': |
|
|
case 'on': |
|
|
if (!__self.auction_status && !__self.raffle_status) { |
|
|
if (!__self.auction_status && !__self.raffle_status) { |
|
|
__self.coin_toggle = false; |
|
|
__self.coin_toggle = false; |
|
|