OriginProtocol / telegram-moderator

Telegram bot for controlling spam, logging, and more
MIT License
114 stars 49 forks source link

Bot features request from the CM team #27

Open Cryptonian opened 4 years ago

Cryptonian commented 4 years ago

Commands to be added Price - /p Chart - /c Developement stats - /d
Social - /s <Reddit/Twitter/Medium> Cir.Supply - /circsup

Here are examples on how to use the commands:

Price Example: /price /p

Returns-> USD : $x BTC : ฿x ETH : ♢x

Mkt Cap: $x Volume : $x 24hr % : x% 7d % : x% 30d % : x% 1y % : x%

Note: have the metrics be from the same source as in https://www.originprotocol.com/en/dashboard

Chart Example:
/chart 7 /c 7

Returns-> image of the 7 day chart (source: coingecko perhaps)

Development Stats Example: /d /dev

Returns-> Developer Data

Stars : x Subscribers : x Total Issues : x Closed Issued : x PR Merged : x PR Contributors: x 4-wk Commit : x

Social Media Update Example: /s Twitter /social Twitter

Returns-> Last twitter post

Circ.Supply
Example: /circsup

Returns-> Circulating Supply: X OGN (same source as in the Dashboard)

mikeshultz commented 4 years ago

/price already exists. Is there a problem with it or are you requesting a specific change to it?

Gonna break the others out into separate issues since each one probably requires not-insignificant work.

Cryptonian commented 4 years ago

For /price the data returned is not the same as the one shown in the Dashboard. (Request to sync them!)