| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
To install node-tip-bot simply clone this repo and install dependencies:
git clone https://github.com/nrpatten/node-tip-bot
cd node-tip-bot
npm installTo configure, copy the config/config.sample.yml file to config/config.yml.
IRC network connection info.
IRC network connection and login info.
List of channels to auto-join to.
Web interface settings.
Logging settings.
JSON RPC API connection info.
Basic coin settings.
Basic git settings.
In your github repo
Enable or Disable the bot from responding to URL's typed in the channel.
Enable or Disable the bot from saying a joke with the !joke command.
Enable or Disable the bot from saying a random quote with the !random command.
Enable or Disable the bot from saying your Allcoin coin price with !ticker.
Enable or Disable the bot from saying your Allcoin coin price with !ticker.
Enable or Disable the bot from saying your Cryptsy coin price with !ticker2.
Enable or Disable the bot from saying btc price ticker with !btc.
Here you can restrict some commands to work only on PM/channel.
Whatever the bot says. Supports expandable variables (eg. %nick% for bot's nick). By default all config vars from rpc section are available.
Every nickname has it's own account in your wallet. When tipping or withdrawing, bot checks if user is registered and identified with NickServ. If so, he moves the money from one account to another, or when withdrawing, transfers coins to other wallet.
Before running the bot, you have to be running your coin daemon with JSON-RPC API enabled. To enable, add this to your coin daemon configuration file (eg. ~/.litecoin/litcoin.conf):
server=1
daemon=1
rpcuser=<your username>
rpcpassword=<your super secret password>
rpcallowip=<your bots ip address or just 127.0.0.1 if hosted on the same machine>To run the bot simply use node bin/tipbot or npm start.
IF you ger this error:
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.DebianRun:
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install python-software-properties python g++ make nodejs| Command | Arguments | Description |
|---|---|---|
| balance | displays your current wallet balance | |
| address | displays address where you can send your funds to the tip bot | |
| withdraw | <address> | withdraws your whole wallet balance to specified address |
| tip | <nick> <amount> | sends the specified amount of coins to the specified nickname |
| rain | <amount> [max] | sends the specified amount of coins to the channel |
| networkhps | displays the current network hashpersec with auto speed switch for Kh/s,Mh/s,Gh/s | |
| diff | displays the current network difficulty | |
| block | displays the current network block | |
| info | displays the current network hashpersec/difficulty/block auto switch | |
| ticker | <coin> or none | displays the current Allcoin coin price use an arg, (!ticker DOPE) |
| bittrex | <coin> or none | displays the current BitTrex coin price use an arg, (!bittrex CANN) |
| cryptsy | displays the current Crypsty coin price | |
| btc | displays the current BTC-e BTC price | |
| joke | displays a random joke | |
| random | displays a random quote | |
| help | displays configured help message (by default similiar to this one) | |
| terms | displays terms and conditions for using the tip bot |
| Back | FazBrowse Home | New Git URL |