Giter Club home page Giter Club logo

element_hyp_discord_price_bot's Introduction

Image of Element Logo

Element (HY) Discord Price Tracker Bot

This bot will sit in the member list of the Discord server and display USD/BTC price of Element (HYP) and it's % movement over 24 hours.

Dependencies

Build a new blank Linux 18.04 (Bionic Beaver) Virtual Machine
Allow "Software Updater" to cycle through and update
sudo apt-get update && sudo apt-get upgrade && sudo apt install git
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.7 -y

Add Python 3.7 to the available alternatives

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.7 1

Set python3.7 as the default python

sudo update-alternatives --set python /usr/bin/python3.7

Install pip

sudo apt install python3-pip -y
sudo python -m pip install --upgrade pip

Downloading repo

cd /home/username/
git clone https://github.com/anthonyrjwood/element_hyp_discord_price_bot.git

Additional Dependencies

pip install -r requirements.txt

Cache the CoinGecko cryptocurrency ticker list

cd /home/username/Desktop/lab/element_hyp_discord_price_bot
python crypto_cache.py -v

Configure crypto_config.yaml

nano crypto_config.yaml

HYP:
priceUnit:
- USD
- BTC
decimalPlace:
- 8
- 8
updateFreq: 60
discordBotKey:
guildId: 385895423073714187

CTRL + X
y
ENTER

Run

python cfgi_run.py

Deploy

Once you are familiar with running a single sidebar bot, you can run multiple bots concurrently by calling ./bot.sh and kill all bots by calling ./kill.sh. You might want to modify the commands in ./bot.sh to suit your own needs.


Image of Crypto-city Logo

element_hyp_discord_price_bot's People

Contributors

edenau avatar anthonyrjwood avatar rafitamolin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.