diff --git a/bin/tipbot.js b/bin/tipbot.js index 604e967..5aa684f 100644 --- a/bin/tipbot.js +++ b/bin/tipbot.js @@ -168,7 +168,7 @@ client.addListener('message', function(from, channel, message) { if(channel == client.nick) channel = from; // comands that don't require identifying - if(command == 'help' || command == 'terms') { + if(command == 'help' || command == 'terms' || command == 'info') { var msg = []; for(var i = 0; i < settings.messages[command].length; i++) { client.say(from, settings.messages[command][i].expand({})); diff --git a/config/config.sample.yml b/config/config.sample.yml index 2f82d71..891ceb3 100644 --- a/config/config.sample.yml +++ b/config/config.sample.yml @@ -51,6 +51,9 @@ commands: terms: pm: true channel: false + info: + pm: true + channel: true rain: pm: false channel: true @@ -85,3 +88,6 @@ messages: terms: - 'There are no fees to use %nick%, with the exception of %withdrawal_fee%%short_name% fee on withdrawals.' - 'In no event shall %nick% be responsible in the event of lost, stolen or misdirected funds.' + info: + - 'Information about your coin, channel or bot' + - 'sent to the person who issued the command via private message'