create account

Parsbot | Discord Bot v1 by pars11

View this thread on: hive.blogpeakd.comecency.com
· @pars11 · (edited)
$0.28
Parsbot | Discord Bot v1
### What is the project about?
Parsbot is a discord bot for steem account datas and query all the coin prices. Parsbot has a discord bot account for incoming messages and send messages with bot token. It currently has 13  commands, of course, according to this desire and development, it may increase or decrease in the future.

### Technology Stack
* Nodejs
* Npm

#### Node Modules and API
* [Discord.js](https://discord.js.org/#/)
* [Request.js](https://www.npmjs.com/package/request)
* [Moment.js](https://momentjs.com/docs/)
* [Steem.js](https://github.com/steemit/steem-js)
* [Coinmarketcap API](https://coinmarketcap.com/api/)


### Roadmap
Parsbot is open to development because it is completely open source. In the future I should add the upvote command. Of course I will continue to bug fixes and improve the code. You can comment on your suggestions.

### Parsbot Commands
```$Help:``` Displays all commands and usages of Parsbot.

![1.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518614632/phd4ipbvjyppm5ah85pc.png)

```$Ping:``` Send "Pong!" message for bot run and server speed test.

![2.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518614810/kmmvkazhxcadfuw99d3g.png)

```$Hi:``` Send "Hi @sender" message.

![3.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518614980/hhr5hswdxzlawhg8byue.png)

```$Merhaba:``` Send "Merhaba @sender" message (Turkish).

![4.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615038/vdcihl8bmzxuphyshas8.png)

```$Selam:``` Send "Selam @sender" message  (Turkish).

![5.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615103/d3ibccgsut37eduohvbi.png)

```$price coinname:``` Displays "coinname" current usd and btc price.

![7.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615347/zqjvdhek9k5qcso0uzqm.png)

```$rep accountname:``` Displays account  reputation score.

![8.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615506/leu7zbnw4ym476tgjmxo.png)


```$vpower accountname:``` Displays account  voting power.

![9.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615617/qaukfswj9xmd68qusqeb.png)

```$accreated accountname:``` Displays how many days ago account was created.

![10.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616263/vtuetnnycmddaiibvzuk.png)

```$accspower accountname:``` Displays account steem power.

![11.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616463/gbbwcauiuyeohfibs0jk.png)

```$accfow accountname:``` Displays account follow and followers count.

![12.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616561/o4ckdasz276giurrtluc.png)

```$accltvote accountname:``` Displays account last  vote date time.

![13.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616640/ijm7ougrtws4mgyjkdvj.png)

```$accdata accountname:``` Displays account all data with profile image.

![14.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616731/mi3dqybnicwjpbk5ko9e.png)

### Tutorial
I shared 7 part tutorials on utopian to prepare this software. All information about the software and explanations of the codes, I added this tutorials.

[Parsbot | Discord Bot Tutorial Node.js | Part 5](https://utopian.io/utopian-io/@pars11/parsbot-or-discord-bot-tutorial-node-js-or-part-5)

[Parsbot | Discord Bot Tutorial Node.js | Part 6](https://utopian.io/utopian-io/@pars11/parsbot-or-discord-bot-tutorial-node-js-or-part-6)

[Parsbot | Discord Bot Tutorial Node.js | Part 7](https://utopian.io/utopian-io/@pars11/parsbot-or-discord-bot-tutorial-node-js-or-part-7)

For other tutorials you can visit [my profile](https://steemit.com/@pars11).

### Install
Firstly we need to download and install Node.js from[ Node.js Website](https://nodejs.org/en/download/).

Command Prompt Code(For node version control)

```node -v```

After you install Node.js you can control the node version via cmd. If you are fail to install it

'node' is not recognized as an internal or external command, operable program or batch file.
you will get the error.

But if your installation is successful, you will see your node version successfully.

![1.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518630514/lf5adpui0whh7egs6gcq.png)

After installing node.js, you can download parsbot via github or clone your computer.

Clone:

```cd projectfolder```

```git clone https://github.com/pars11/parsbot```

You need to enter your bot token in the "parsbot.login('');"  section in the app.js file.

More info discord app and bot token. [Tutorial 1](https://utopian.io/utopian-io/@pars11/parsbot-or-discord-bot-tutorial-node-js-or-part-1)

And Run.

```node app.js```

![2.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518631319/elljxiraayqn5bwdpfer.png)


### How to contribute?
You can reach me by commenting on this post or send message on the discord (pars11).If you want to make this application better, you can make a Pull Request

[Github](https://github.com/pars11/parsbot)

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@pars11/parsbot-or-discord-bot-v1">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍  , , , , , , , , ,
properties (23)
authorpars11
permlinkparsbot-or-discord-bot-v1
categoryutopian-io
json_metadata{"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":120095993,"name":"parsbot","full_name":"pars11/parsbot","html_url":"https://github.com/pars11/parsbot","fork":false,"owner":{"login":"pars11"}},"pullRequests":[],"platform":"github","type":"development","tags":["utopian-io","discord","bot","nodejs","parsbot"],"users":["sender","pars11"],"links":["https://discord.js.org/#/","https://www.npmjs.com/package/request","https://momentjs.com/docs/","https://github.com/steemit/steem-js","https://coinmarketcap.com/api/","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518614632/phd4ipbvjyppm5ah85pc.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518614810/kmmvkazhxcadfuw99d3g.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518614980/hhr5hswdxzlawhg8byue.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615038/vdcihl8bmzxuphyshas8.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615103/d3ibccgsut37eduohvbi.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615347/zqjvdhek9k5qcso0uzqm.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615506/leu7zbnw4ym476tgjmxo.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615617/qaukfswj9xmd68qusqeb.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616263/vtuetnnycmddaiibvzuk.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616463/gbbwcauiuyeohfibs0jk.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616561/o4ckdasz276giurrtluc.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616640/ijm7ougrtws4mgyjkdvj.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616731/mi3dqybnicwjpbk5ko9e.png","https://utopian.io/utopian-io/@pars11/parsbot-or-discord-bot-tutorial-node-js-or-part-5","https://utopian.io/utopian-io/@pars11/parsbot-or-discord-bot-tutorial-node-js-or-part-6","https://utopian.io/utopian-io/@pars11/parsbot-or-discord-bot-tutorial-node-js-or-part-7","https://steemit.com/@pars11","https://nodejs.org/en/download/","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518630514/lf5adpui0whh7egs6gcq.png","https://utopian.io/utopian-io/@pars11/parsbot-or-discord-bot-tutorial-node-js-or-part-1","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518631319/elljxiraayqn5bwdpfer.png","https://github.com/pars11/parsbot"],"image":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1518614632/phd4ipbvjyppm5ah85pc.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518614810/kmmvkazhxcadfuw99d3g.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518614980/hhr5hswdxzlawhg8byue.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615038/vdcihl8bmzxuphyshas8.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615103/d3ibccgsut37eduohvbi.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615347/zqjvdhek9k5qcso0uzqm.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615506/leu7zbnw4ym476tgjmxo.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518615617/qaukfswj9xmd68qusqeb.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616263/vtuetnnycmddaiibvzuk.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616463/gbbwcauiuyeohfibs0jk.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616561/o4ckdasz276giurrtluc.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616640/ijm7ougrtws4mgyjkdvj.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518616731/mi3dqybnicwjpbk5ko9e.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518630514/lf5adpui0whh7egs6gcq.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518631319/elljxiraayqn5bwdpfer.png"],"moderator":{"account":"codingdefined","time":"2018-02-19T05:11:34.219Z","flagged":true,"reviewed":false,"pending":false},"questions":[],"score":0}
created2018-02-14 18:03:18
last_update2018-02-19 05:11:33
depth0
children8
last_payout2018-02-21 18:03:18
cashout_time1969-12-31 23:59:59
total_payout_value0.223 HBD
curator_payout_value0.052 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,159
author_reputation13,018,135,268,251
root_title"Parsbot | Discord Bot v1"
beneficiaries
0.
accountutopian.pay
weight2,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id37,538,883
net_rshares50,917,792,208
author_curate_reward""
vote details (10)
@codingdefined ·
Your contribution cannot be approved because it does not follow the [Utopian Rules](https://utopian.io/rules). As all the code has been shared before as a Tutorial.

>Submitted projects must have a unique value. Redundant projects will not be accepted.

>Contributions must be unique. Users must first check if the same or very similar contribution has been submitted before.

You can contact us on [Discord](https://discord.gg/uTyJkNm).
**[[utopian-moderator]](https://utopian.io/moderators)**
properties (22)
authorcodingdefined
permlinkre-pars11-parsbot-or-discord-bot-v1-20180219t051251769z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-02-19 05:12:54
last_update2018-02-19 05:12:54
depth1
children1
last_payout2018-02-26 05:12:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length494
author_reputation526,332,354,991,680
root_title"Parsbot | Discord Bot v1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,696,130
net_rshares0
@pars11 ·
Okey I understand thank you.
properties (22)
authorpars11
permlinkre-codingdefined-re-pars11-parsbot-or-discord-bot-v1-20180219t082911387z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-02-19 08:29:12
last_update2018-02-19 08:29:12
depth2
children0
last_payout2018-02-26 08:29:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length28
author_reputation13,018,135,268,251
root_title"Parsbot | Discord Bot v1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,732,296
net_rshares0
@mehmetengin ·
Ellerine sağlık kardeşim güzel olmuş :)
👍  
properties (23)
authormehmetengin
permlinkre-pars11-parsbot-or-discord-bot-v1-20180215t190552102z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-02-15 19:05:51
last_update2018-02-15 19:05:51
depth1
children1
last_payout2018-02-22 19:05:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length39
author_reputation9,044,176,326,598
root_title"Parsbot | Discord Bot v1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id37,814,421
net_rshares2,810,099,476
author_curate_reward""
vote details (1)
@pars11 ·
Teşekkürler :)
properties (22)
authorpars11
permlinkre-mehmetengin-re-pars11-parsbot-or-discord-bot-v1-20180216t100417717z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-02-16 10:04:18
last_update2018-02-16 10:04:18
depth2
children0
last_payout2018-02-23 10:04:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length14
author_reputation13,018,135,268,251
root_title"Parsbot | Discord Bot v1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id37,967,185
net_rshares0
@rdvn ·
its looking useful , 
👍  
properties (23)
authorrdvn
permlinkre-pars11-parsbot-or-discord-bot-v1-20180214t202044474z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-02-14 20:20:42
last_update2018-02-14 20:20:42
depth1
children1
last_payout2018-02-21 20:20:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length21
author_reputation12,487,610,583,231
root_title"Parsbot | Discord Bot v1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id37,564,433
net_rshares2,649,227,509
author_curate_reward""
vote details (1)
@pars11 ·
Thank you very much
properties (22)
authorpars11
permlinkre-rdvn-2018214t232344417z
categoryutopian-io
json_metadata{"tags":"utopian-io","app":"esteem/1.5.1","format":"markdown+html","community":"esteem"}
created2018-02-14 20:23:45
last_update2018-02-14 20:23:45
depth2
children0
last_payout2018-02-21 20:23:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length19
author_reputation13,018,135,268,251
root_title"Parsbot | Discord Bot v1"
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id37,564,933
net_rshares0
@tolgahanuzun ·
It looks fun. Is it active on a discord-channel?
👍  
properties (23)
authortolgahanuzun
permlinkre-pars11-parsbot-or-discord-bot-v1-20180214t194044783z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-02-14 19:40:45
last_update2018-02-14 19:40:45
depth1
children1
last_payout2018-02-21 19:40:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length48
author_reputation14,391,763,215,303
root_title"Parsbot | Discord Bot v1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id37,557,482
net_rshares2,689,776,910
author_curate_reward""
vote details (1)
@pars11 ·
Unfortunately It is not active a discord-channel now because I can't get a node.js server. But I will activate and update soon.
properties (22)
authorpars11
permlinkre-tolgahanuzun-re-pars11-parsbot-or-discord-bot-v1-20180214t194449507z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-02-14 19:44:51
last_update2018-02-14 19:44:51
depth2
children0
last_payout2018-02-21 19:44:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length127
author_reputation13,018,135,268,251
root_title"Parsbot | Discord Bot v1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id37,558,163
net_rshares0