The Love of Hernandez 312

chequebrick3's blog

header photo

blog post

How to construct a Discord Bot to trace Crypto Prices 24/7 and set cost Signals (part 1) --- with Python
what's up all people my name is andrew phong  today i'll be showing you the way to build  . your own crypto board in your discord server to  observe crypto prices and set cost indicators in the  . type of notifications in your cellphone and also your  computer in order that this squad bot would be running 24  . 7 utilizing a service referred to as uptime robotic which will  continuously ping your server every 5 minutes  . to keep your bot alive and for buying the price  information of the cryptocurrencies i will be using this  . free api service coin gecko which i used in the  last video of like animating html rating tables  . with the realtime crypto prizes changes video  if you haven't watched that video please go  . ahead and click the information field now and let's now  pass forward and show you how this bot will paintings. so let's begin the code it will automatically  serve a flask app and it will be walking this.

Total server so if we hop on to the discord  this is the discord and my channel is called  . android telephones coding playground and iinside this  channel this article channel crypto information channel  . so i've added the bot which  is the crypto facts bot which i  . coded and let's examine what this spot can  achieve this if i kind um for instance bitcoin. it is going to instantly return  simply the price of the bitcoin  . in terms of us dollar and for example dogecoin. and you will find that despite the fact that we have  tousled the uppercase and lowercase it still  . is able to generate the costs to illustrate um  let's try out an extra let's try ethereum ethereum. and we bought the prices that we need and via typing  within the dollar signal and list we can we are able to  . discover which um type of present cryptocurrencies  this uh bot will aid so you will see that the tip.
100 uh cryptocurrencies with the most important market  cap will be supported during this crypto information bot  . and let's attempt if it's to determine if it support  a random coin for example andrew phone coin. so it does not help this coin  for now so let's attempt one more one  . let's have a look at um let's test tether and let's  spell it mess up the um case it still renders  . so right here comes the main side which is actually  placing the cost indicators and likewise sending  . notifications to the user anytime the  crypto prices reaches the cost targets  . so let's cross forward and check out dollar sign set  um let's specify a random coin which is  . andrew coin lower back for 3 thousand dollars  4 thousand funds okay so it returns us  . a unsuccessful setting of a prize alert um message  due to the fact uh andrew coin isn't supported yet okay  . so let's move forward and verify bitcoins fees once  back and let's set a few cost signals for bitcoin.
okay so let's set perhaps um greenback sign set bitcoin  . three thousand thirty 4 thousand  nine hundred and twenty and likewise thirty. ok so it returns a effective set  . price alerts notifications and let's  go forward and start detecting the prices. so i have left the bot running for a couple of  mins so there are so much of price alerts  . notifications as we are able to inform like the first one  is anytime the present price is dropped to 34k  . and 919. so it simply fallen under either one of the  cost love it that we have set and every time it  . goes up and it also exceeded the first price  goals yet would not trigger the second one  . and it additionally drops afterwards and also hitting both  our value aims so that's basically what this  . bot can do so the first video of this uh discord  boss series i'll be targeting getting the

Go Back

Comment