Steemit Discord Upvote and Coin Price Bot v1
What is the project about?
An upvote bot that Steemit members can use over Discord channels. You can also query all cyrpto coin prices over Discord.
Technology Stack
- Nodejs
- Npm
- Ubuntu Server
Roadmap
This software, which I offer as completely open source, will be developed in every way and will make the Steemit User's convenience easier.
How to contribute?
You can reach me by commenting on this post or visiting the web site of the biography.
Tutorial
First, rent an Ubuntu Server and make an SSH connection.
You can solve the lib dpkg problem, which is a chronic problem in most Ubuntu Server operating systems, by entering the following commands.
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
Then download the 3 files from the GitHub repository to the root directory with the wget command.
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
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.
You can complete the setups by entering the following commands in order.
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
Then we set out the necessary extensions for our discord connection.
npm install discordie
npm install discord.io
After installing our add-ons, we will install MySQL Server.
sudo apt-get update
sudo apt-get install mysql-server -y
When you enter the above commands in order, you will need a MySQL password. After specifying your password, continue by typing the following commands.
sudo mysql_secure_installation
systemctl status mysql.service
Enter your MySQL password again for verification and the transaction is complete.
To create our tables for the database that came up.
Again enter the following commands respectively.
mysql -u root -p
After this command you will be prompted to mysql password.
CREATE DATABASE caps;
USE caps;
CREATE TABLE caps (
id int(11) NOT NULL,
user text NOT NULL,
lastvote text NOT NULL,
userid text NOT NULL);
Your database has been successfully created.
Now we can move on to making the necessary arrangements.
nano caps.js
Enter the above command to enter the required Discord API and Steemit KEY information on the editor.
- We write your first database password.
- We write the Token you created through Discord App.
- You will get WIFKEY for the bot account via Steemit.
- You are typing the username of the Steemit account you are going to use.
- We write the Token you created through Discord App.
After editing the information, you can run the software with the following command, saving the js file.
pm2 start caps.js
Screen Shots
Commands
$caps
Shows a brief description and commands about the bot.
$fiyat
You can query all cypto coin prices on coinmarketcap.com such as $fiyat bitcoin.
$upvote
When you write with Steemit post address, the bot will upvote for post.
Links
- Github: https://github.com/sdtyldz/capsbot
- Online Demo: https://bit.ly/capsbot
Thanks for contributing to @mahdiyari and @codingdefined.
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
Please add
LICENSE
to the repository.You can contact us on Discord.
[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.
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 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.
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
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
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.
utopian.io
Hello How ru Pls Vote me and follow me pls I have given u already Vote pls dear