Skip to content

manapixels/umbrella-network-price-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup your own

  1. Clone this repo
    git clone https://github.com/zhenyangg/umbrella-network-price-bot.git
    
  2. Create your Discord bot here
  3. Set up environment variables:
    1. Create a .env file in the project root folder
    2. Input the following in the file:
      DISCORD_BOT_TOKEN=XXX
      UMBRELLA_API_KEY=XXX
      UMBRELLA_API_URL=https://api.dev.umb.network
      UMBRELLA_REGISTRY_CONTRACT_ADDRESS=XXX
      BLOCKCHAIN_PROVIDER_URL=https://kovan.infura.io/v3/YOUR_KEY_HERE
      
  4. Run
    node bot.js
    



Or add my demo 😉

  1. Go to https://discord.com/api/oauth2/authorize?client_id=868744432411873280&permissions=0&scope=bot
  2. Add it to your server
  3. Once added, the default ticker price shown will be BTC.



Discord Bot Commands

List supported tickers:

!tickers

To change any supported ticker, e.g. ETH

!eth

Demo animation

About

A Discord crypto price bot, powered by Umbrella Network

Topics

Resources

License

Stars

Watchers

Forks