From ffa05f4e19a15f07412a0356fb617121c53fd2bd Mon Sep 17 00:00:00 2001 From: BitCoin BOB Date: Tue, 9 Sep 2014 12:38:45 -0500 Subject: [PATCH 1/3] Adding INFO command data Turn ON, and define INFO command --- config/config.sample.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/config.sample.yml b/config/config.sample.yml index 2f82d71..70de07e 100644 --- a/config/config.sample.yml +++ b/config/config.sample.yml @@ -24,7 +24,7 @@ coin: min_confirmations: 5 min_tip: 10 min_rain: 1 - short_name: ' DOGE' + short_name: 'DOGE' full_name: dogecoin webadmin: enabled: false @@ -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' From 4f199b27abe483ddc2752e939c0799f8f25e5367 Mon Sep 17 00:00:00 2001 From: BitCoin BOB Date: Tue, 9 Sep 2014 20:11:10 -0500 Subject: [PATCH 2/3] Added !info command Added !info command to display coin, channel, or project data from config/config.yml --- bin/tipbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({})); From 737f61eb6ed4dd971cba433a1c4f547329a606f6 Mon Sep 17 00:00:00 2001 From: BitCoin BOB Date: Wed, 10 Sep 2014 09:30:50 -0500 Subject: [PATCH 3/3] Replaced ' DOGE' Replaced ' DOGE' --- config/config.sample.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.sample.yml b/config/config.sample.yml index 70de07e..891ceb3 100644 --- a/config/config.sample.yml +++ b/config/config.sample.yml @@ -24,7 +24,7 @@ coin: min_confirmations: 5 min_tip: 10 min_rain: 1 - short_name: 'DOGE' + short_name: ' DOGE' full_name: dogecoin webadmin: enabled: false