Steemit Discord Upvote and Coin Price Bot v1

in #utopian-io7 years ago (edited)

What is the project about?

<p dir="auto">An upvote bot that Steemit members can use over Discord channels. You can also query all cyrpto coin prices over Discord. <h4>Technology Stack <ul> <li>Nodejs <li>Npm <li>Ubuntu Server <h4>Roadmap <p dir="auto">This software, which I offer as completely open source, will be developed in every way and will make the Steemit User's convenience easier. <h4>How to contribute? <p dir="auto">You can reach me by commenting on this post or visiting the web site of the biography. <h4>Tutorial <p dir="auto">First, rent an Ubuntu Server and make an SSH connection.<br /> You can solve the <strong>lib dpkg problem, which is a chronic problem in most Ubuntu Server operating systems, by entering the following commands. <pre><code>sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock <p dir="auto">Then download the 3 files from the GitHub repository to the root directory with the wget command. <pre><code>wget https://raw.github.com/sdtyldz/capsbot/master/caps.js wget https://raw.github.com/sdtyldz/capsbot/master/package.json wget https://raw.github.com/sdtyldz/capsbot/master/package-lock.json <p dir="auto">Then we need to install a number of add-ons that we need on our server. These; nodejs, nodejs-legacy, npm, pm2, steem, eris and mysql.<br /> You can complete the setups by entering the following commands in order. <pre><code>sudo apt-get install nodejs -y sudo apt-get install nodejs-legacy -y sudo apt-get install npm -y sudo npm i -g pm2 npm install steem --save npm install --no-optional eris npm install mysql <p dir="auto">Then we set out the necessary extensions for our discord connection. <pre><code>npm install discordie npm install discord.io <p dir="auto">After installing our add-ons, we will install MySQL Server. <pre><code>sudo apt-get update sudo apt-get install mysql-server -y <p dir="auto">When you enter the above commands in order, you will need a MySQL password. After specifying your password, continue by typing the following commands. <pre><code>sudo mysql_secure_installation systemctl status mysql.service <p dir="auto">Enter your MySQL password again for verification and the transaction is complete.<br /> To create our tables for the database that came up.<br /> Again enter the following commands respectively. <pre><code>mysql -u root -p <p dir="auto">After this command you will be prompted to mysql password. <pre><code>CREATE DATABASE caps; USE caps; <pre><code>CREATE TABLE caps ( id int(11) NOT NULL, user text NOT NULL, lastvote text NOT NULL, userid text NOT NULL); <p dir="auto">Your database has been successfully created.<br /> Now we can move on to making the necessary arrangements. <pre><code>nano caps.js <p dir="auto">Enter the above command to enter the required Discord API and Steemit KEY information on the editor. <p dir="auto"><img src="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887388/y2aqpcjgxt5d0u4hpx8e.png" alt="Screenshot_1.png" srcset="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887388/y2aqpcjgxt5d0u4hpx8e.png 1x, https://images.hive.blog/1536x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887388/y2aqpcjgxt5d0u4hpx8e.png 2x" /><br /> <img src="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887394/yx5fnmngpkenqzhlg3tx.png" alt="Screenshot_2.png" srcset="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887394/yx5fnmngpkenqzhlg3tx.png 1x, https://images.hive.blog/1536x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887394/yx5fnmngpkenqzhlg3tx.png 2x" /> <ol> <li>We write your first database password. <li>We write the Token you created through Discord App. <li>You will get WIFKEY for the bot account via Steemit. <li>You are typing the username of the Steemit account you are going to use. <li>We write the Token you created through Discord App. <p dir="auto">After editing the information, you can run the software with the following command, saving the js file. <pre><code>pm2 start caps.js <p dir="auto"><img src="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517888748/wgj0sg5lpxajlntl0l9l.png" alt="123123.png" srcset="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517888748/wgj0sg5lpxajlntl0l9l.png 1x, https://images.hive.blog/1536x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517888748/wgj0sg5lpxajlntl0l9l.png 2x" /> <h4>Screen Shots <p dir="auto"><img src="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887804/z0rz2bv5bv1kmge3dhva.png" alt="Screenshot_3.png" srcset="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887804/z0rz2bv5bv1kmge3dhva.png 1x, https://images.hive.blog/1536x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887804/z0rz2bv5bv1kmge3dhva.png 2x" /><br /> <img src="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887809/ga6eumgbchzhjteqb2g9.png" alt="Screenshot_4.png" srcset="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887809/ga6eumgbchzhjteqb2g9.png 1x, https://images.hive.blog/1536x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887809/ga6eumgbchzhjteqb2g9.png 2x" /><br /> <img src="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887815/liw6nzlsdxvbabznpgam.png" alt="Screenshot_5.png" srcset="https://images.hive.blog/768x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887815/liw6nzlsdxvbabznpgam.png 1x, https://images.hive.blog/1536x0/https://res.cloudinary.com/hpiynhbhq/image/upload/v1517887815/liw6nzlsdxvbabznpgam.png 2x" /> <h4>Commands <pre><code>$caps <p dir="auto">Shows a brief description and commands about the bot. <pre><code>$fiyat <p dir="auto">You can query all cypto coin prices on coinmarketcap.com such as <strong>$fiyat bitcoin. <pre><code>$upvote <p dir="auto">When you write with Steemit post address, the bot will upvote for post. <h4>Links <ul> <li><span>Github: <a href="https://github.com/sdtyldz/capsbot" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/sdtyldz/capsbot <li><span>Online Demo: <a href="https://bit.ly/capsbot" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://bit.ly/capsbot <p dir="auto"><em><span>Thanks for contributing to <a href="/@mahdiyari">@mahdiyari and <a href="/@codingdefined">@codingdefined. <p dir="auto"><br /><hr /><em>Posted on <a href="https://utopian.io/utopian-io/@sedatyildiz/steemit-discord-upvote-and-coin-price-bot-v1" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Utopian.io - Rewarding Open Source Contributors<hr /><p>
Sort:  

Thank you for the contribution. It has been approved.

<p dir="auto">Please add <code>LICENSE to the repository. <p dir="auto">You can contact us on <a href="https://discord.gg/uTyJkNm" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Discord. <p dir="auto"><strong><a href="https://utopian.io/moderators" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">[utopian-moderator]

Hey @ms10398, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

Thank you, I've added the MIT License.

Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.Congratulations! This post has been upvoted from the communal account, @minnowsupport, by sedatyildiz from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

It wonderful as usual

Thank you so much.

thanks for all the information

Thank you for reading.

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

Achievements

  • 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

bilgileriniz için teşekkür ederim

Ben teşekkür ederim.

Teşekkürler. Eline sağlık.

Ben teşekkür ederim.

merhaba türkçe anlatım da yapabilir misiniz?

Merhaba, aklınıza takılan veya yapamadığınız kısımları iletirseniz yardımcı olmak isterim.

Hello How ru Pls Vote me and follow me pls I have given u already Vote pls dear