Skip to content
This repository was archived by the owner on Jan 22, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/tipbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({}));
Expand Down
6 changes: 6 additions & 0 deletions config/config.sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ commands:
terms:
pm: true
channel: false
info:
pm: true
channel: true
rain:
pm: false
channel: true
Expand Down Expand Up @@ -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'