upvote, lol(regex), lmao(regex), haha
replying to a message with these will trigger the upvote buttons.
/leaderboard
Prints the users with the highest points in Descending order
/register
Saves the user's name and group id in order to use social features.
img <query>
returns a google image search based on query.
giphy <query>
returns a .mp4 file based on query (faster but less reliable results).
gif <query>
returns a google gif search based on query.
youtube <query>
returns a youtube link based on query.
/balance <address>
returns the balance of a bitcoin address in satoshis and BTC.
/coinbase
returns live exchange rate for USD/BTC via Coinbase
/btc
generates a live screenshot of bitcoinity.org/markets
/convert (currency) to (BTC)
or /convert (BTC) to (currency)
gives you the live conversion values ie; $100 = 0.1 btc
reply to message with 'translate <foreign language>'
translates the original message from to English.
/stocks <ticker>
returns live stock data based on ticker
/ss <url>
generates a live screenshot of the provided url.
Make a copy of the config.example
file found here
This bot uses PostgresQL by default, but can be tweaked to work with MySQL.
To make use of the google APIs, you will need API keys from http://cse.google.com/create/new
A telegram token can be obtained by talking to the botfather
BitcoinAverage API key can be obtained here
Using the telegraf library.
git clone this repo
npm install
npm run dev
or
npm run prod