implement CryptPriceBot Telegram Bot into Steemit Malaysia CN Group

in #utopian-io7 years ago (edited)

About Project

This project is a telegram bot with the name called "CryptPriceBot". This bot serve the purpose for our telegram group user to use telegram to check the price of Cryptocurrency.

Screen Shot 2018-01-22 at 8.48.16 PM.png

Implemented CryptPriceBot to Steemit Malaysia CN Group

This bot is hosted on Digital Ocean. Anyone interested to use this bot can simply use this link

Features

  • Check price of Cryptocurrency from CoinMarketCap.
  • Check price of it at your preference currency.
  • Check ratio of a Cryptocurrency to another.

This bot make use CoinMarketCap API to get the price for that certain CryptoCurrency.

Commands

  • /price steem (Check price of steem in USD(default currency))
  • /price steem-dollars MYR (Check price of SBD in MYR (Malaysian Ringgit))
  • /ratio steem steem-dollars (Check ratio of steem to steem-dollars)

About the Projects

  • What is the project about?
    This project solve the issue of the group of people who are actively on telegram. Instead of going CoinMarketCap website to check the current price of a CryptoCurrency, the user can simply type in chat to know the current price.
  • Technology Stack
    • Node.js the programming language that I used to code the programme.
    • Axios a JS library I use to consume CoinMarketCap API
    • Babel a JS Compiler for compatibility of older Node.js
  • Roadmap
    • Add a feature that a user can key in a certain amount of coins. (e.g. /price 1 steem MYR)
    • Add a better naming for coins. (e.g. instead of steems-dollars, use SBD; instead of bitcoin, use BTC)
  • How to contribute?
    This project is under MIT License and the source code is on Github (superoo7/CryptPriceBot). Any Issue and Pull Request can be send on GitHub.
  • Developer notes on installation
    • Clone this Repo
    • Run npm install or yarn install
    • setup .env file with your own telegram API key (check .env.sample). You can get it from Telegram Bot Father.
    • For development mode, use npm run dev or yarn dev
    • For production use npm run build or yarn build and a dist/ file will be generated.
    • Simply run node dist/index.js, or using PM2, pm2 start dist/index.js



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thank you too moderator

@superoo7 Well done bro, this bot is going to help us a lot. You're truly awesome :)

Thanks for stopping by haha

Hey @superoo7 I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

I would suggest adding API from coinmarketwatch.com & livecoinwatch.com too because not all coins are on cmc :)

Thanks for the suggestion. Currently, we are just checking steem and sbd price only, so should be fine haha.

thanks, happy today

Thats awesome! im using it right now lol

Thanks for finding it useful 😁

cool project. I tried out the bot. Good to get the price :-) so easily.

just a suggestion

The command "/price steem-dollars", is there a way to still get an answer instead of an error, if people type in "/price steem-dollar" without "s" cos quite easy to not type in the "s".

Nice one, please can i get added to the team malaysia telegram group

哦。你要进来我们中文组吗?要背起我们的口号。不然团长会生气的。

普通话:十四是十四,四十是四十
粤语:痴线蜘蛛条蜘蛛丝痴住支树枝

Coin Marketplace

STEEM 0.20
TRX 0.20
JST 0.034
BTC 90526.91
ETH 3112.25
USDT 1.00
SBD 2.96