added terms and conditions

This commit is contained in:
unek
2014-02-23 10:55:20 +01:00
parent e5abcd3c20
commit 40a297cfc2
2 changed files with 14 additions and 1 deletions
+6
View File
@@ -304,6 +304,12 @@ client.addListener('message', function(from, channel, message) {
client.say(channel, message.expand({}));
}
break;
case 'terms':
for(var i = 0; i < settings.messages.terms.length; i++) {
var message = settings.messages.terms[i];
client.say(channel, message.expand({}));
}
break;
}
});
});
+8 -1
View File
@@ -41,6 +41,9 @@ commands:
address:
pm: true
channel: false
terms:
pm: true
channel: false
messages:
error: 'Sorry %name%, something went wrong.'
no_funds: "Sorry %name%, you don't have enough funds (you're %short%%short_name% short)"
@@ -62,4 +65,8 @@ messages:
- 'balance - displays your current wallet balance'
- 'address - displays %full_name% address where you can send your funds to the tip bot'
- 'withdraw <%full_name% address> - withdraws your whole wallet balance to specified address (taking %withdrawal_fee% withdrawal fee)'
- 'tip <nick> <amount> - sends the specified amount of %full_name% to the specified nickname'
- 'tip <nick> <amount> - sends the specified amount of %full_name% to the specified nickname'
- 'terms - displays terms and conditions for using %nick%'
terms:
- 'There are no fees to use %nick%, with the exception of %withdrawal_fee%%short_name% fee on withdrawals.'
- 'In no even shall %nick% be responsible in the event of lost, stolen or misdirected funds.'