create account

STEEMPUNK-NET Discord Bot Update - command design, cli command, MIT licence by pcsg-dev

View this thread on: hive.blogpeakd.comecency.com
· @pcsg-dev · (edited)
$85.38
STEEMPUNK-NET Discord Bot Update - command design, cli command, MIT licence
- [STEEMPUNK-NET Website](https://www.steempunk.net/)
- [STEEMPUNK-NET Discord](https://discord.gg/p2bUGCn)
- You can find the push / merge requests at the bottom

![STEEMPUNK-NET](https://steemitimages.com/0x0/https://steemit-production-imageproxy-thumbnail.s3.amazonaws.com/U5dt7rsTaPcdTdSHf6YVDubmbyhjfdd_1680x8400)

### New Features
- What feature(s) did you add?

We closed some Issues and rewrite the complete help command. In addition, the bot got now a cli extension.

We have completely rewritten the help command since it was extremely confusing. In the Discord Chat some users have made some suggestions that the embed API is more suitable for this purpose.
This needed a complete rewrite of the commands, because the embed API cannot handle md files.

Example for the embed API:
![example](https://camo.githubusercontent.com/dcc1b8000bbf832d1676165a9471b4bb6f6cfe96/68747470733a2f2f616e6964696f747367756964655f6f6c642e676974626f6f6b732e696f2f646973636f72642d6a732d626f742d67756964652f636f6e74656e742f6173736574732f656d626564732f656d6265646578616d706c65322e706e67)

Since we also had a feature request from @jillfeint (https://github.com/pcsg/steempunknet-discord-bot/issues/6) all this was done in one go.

- How did you implement it/them?
- [Help Folder](https://github.com/pcsg/steempunknet-discord-bot/tree/master/commands/help): The complete handling of the help has been completely restructured and implemented as javascript files
- [Steemit Vote CLI Trail](https://github.com/pcsg/steempunknet-discord-bot/blob/master/cli/steemit-vote.js) The CLI vote functionality has been implemented because our guild wants to coordinate votes on different links. This functionality is intended for the direct use of the bot. If you would like to learn how to coordinate votes with steemjs, you can take a look at the steemit-vote.js file. The usage is simple `nodejs cli/steemit-vote.js `.
![CLI usage](https://user-images.githubusercontent.com/751811/36350556-5f9e8bc4-149a-11e8-9d80-e6bd1c3259dc.png)
- [Spanish welcome message](https://github.com/pcsg/steempunknet-discord-bot/blob/master/watcher/welcome.js#L43) @jillfeint issue was implemented, too. This was added directly to the welcome message

##### Here are some screenshots of our new Discord message

Pictures say more than a thousand words :-)

![](https://user-images.githubusercontent.com/751811/36350405-95493330-1497-11e8-9ca4-c877ff058b86.png)

![](https://user-images.githubusercontent.com/751811/36350410-a22dcdcc-1497-11e8-9449-58e1a5396093.png)

![](https://user-images.githubusercontent.com/751811/36350415-b027f02e-1497-11e8-82f5-9134afbb309c.png)

![](https://user-images.githubusercontent.com/751811/36350423-c2c4c3ec-1497-11e8-89a0-dd35cdce9651.png)

![spanish welcome message](https://user-images.githubusercontent.com/751811/36350620-cb5e909c-149b-11e8-96db-77729d8e1581.png)

##### The complete push / commit history

- https://github.com/pcsg/steempunknet-discord-bot/commit/f67aa76c842db7b9b3ba5d6e856ba70a7a8fa3d4
- https://github.com/pcsg/steempunknet-discord-bot/commit/528578e9d7ee0476f96bbed3e899c1f2728579e7
- https://github.com/pcsg/steempunknet-discord-bot/commit/7522de0a99c407aacd81d016c664983212b17a8a
- https://github.com/pcsg/steempunknet-discord-bot/commit/bc50f3fd885951c2decddf8cc8c40867906d37e2
- https://github.com/pcsg/steempunknet-discord-bot/commit/841d5b1aff1c59a94736bd86e6fa086d9776e479


Thanks for reading  
Hen for PCSG Developers and STEEMPUNK-NET Team

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@pcsg-dev/steempunk-net-discord-bot-update-command-design-cli-command-mit-licence">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorpcsg-dev
permlinksteempunk-net-discord-bot-update-command-design-cli-command-mit-licence
categoryutopian-io
json_metadata{"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":121271480,"name":"steempunknet-discord-bot","full_name":"pcsg/steempunknet-discord-bot","html_url":"https://github.com/pcsg/steempunknet-discord-bot","fork":false,"owner":{"login":"pcsg"}},"pullRequests":[],"platform":"github","type":"development","tags":["utopian-io","steempunknet","discord"],"users":["jillfeint"],"links":["https://www.steempunk.net/","https://discord.gg/p2bUGCn","https://steemitimages.com/0x0/https://steemit-production-imageproxy-thumbnail.s3.amazonaws.com/U5dt7rsTaPcdTdSHf6YVDubmbyhjfdd_1680x8400","https://camo.githubusercontent.com/dcc1b8000bbf832d1676165a9471b4bb6f6cfe96/68747470733a2f2f616e6964696f747367756964655f6f6c642e676974626f6f6b732e696f2f646973636f72642d6a732d626f742d67756964652f636f6e74656e742f6173736574732f656d626564732f656d6265646578616d706c65322e706e67","https://github.com/pcsg/steempunknet-discord-bot/tree/master/commands/help","https://github.com/pcsg/steempunknet-discord-bot/blob/master/cli/steemit-vote.js","https://user-images.githubusercontent.com/751811/36350556-5f9e8bc4-149a-11e8-9d80-e6bd1c3259dc.png","https://github.com/pcsg/steempunknet-discord-bot/blob/master/watcher/welcome.js#L43","https://user-images.githubusercontent.com/751811/36350620-cb5e909c-149b-11e8-96db-77729d8e1581.png"],"image":["https://steemitimages.com/0x0/https://steemit-production-imageproxy-thumbnail.s3.amazonaws.com/U5dt7rsTaPcdTdSHf6YVDubmbyhjfdd_1680x8400","https://camo.githubusercontent.com/dcc1b8000bbf832d1676165a9471b4bb6f6cfe96/68747470733a2f2f616e6964696f747367756964655f6f6c642e676974626f6f6b732e696f2f646973636f72642d6a732d626f742d67756964652f636f6e74656e742f6173736574732f656d626564732f656d6265646578616d706c65322e706e67","https://user-images.githubusercontent.com/751811/36350556-5f9e8bc4-149a-11e8-9d80-e6bd1c3259dc.png","https://user-images.githubusercontent.com/751811/36350620-cb5e909c-149b-11e8-96db-77729d8e1581.png"],"moderator":{"account":"vladimir-simovic","time":"2018-02-19T05:39:26.653Z","reviewed":true,"pending":false,"flagged":false},"questions":[],"score":0}
created2018-02-18 10:12:39
last_update2018-02-19 05:39:27
depth0
children4
last_payout2018-02-25 10:12:39
cashout_time1969-12-31 23:59:59
total_payout_value59.140 HBD
curator_payout_value26.239 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,679
author_reputation41,490,075,306,333
root_title"STEEMPUNK-NET Discord Bot Update - command design, cli command, MIT licence"
beneficiaries
0.
accountutopian.pay
weight2,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,477,239
net_rshares18,544,989,311,659
author_curate_reward""
vote details (35)
@enjar ·
I am impressed by the frequency and amount of effort you guys put into this project. Keep up the great work!
properties (22)
authorenjar
permlinkre-pcsg-dev-steempunk-net-discord-bot-update-command-design-cli-command-mit-licence-20180218t171402462z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-02-18 17:14:06
last_update2018-02-18 17:14:06
depth1
children0
last_payout2018-02-25 17:14:06
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_length108
author_reputation1,204,363,780,938,395
root_title"STEEMPUNK-NET Discord Bot Update - command design, cli command, MIT licence"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,565,596
net_rshares0
@utopian-io ·
### Hey @pcsg-dev I am @utopian-io. I have just upvoted you!
#### Achievements
- You have less than 500 followers. Just gave you a gift to help you succeed!
- Seems like you contribute quite often. AMAZING!
#### Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. <a href="https://discord.gg/zTrEMqB">Participate on Discord</a>. Lets GROW TOGETHER!
- <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness With SteemConnect</a>
- <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy vote to Utopian Witness with SteemConnect</a>
- Or vote/proxy on <a href="https://steemit.com/~witnesses">Steemit Witnesses</a>

[![mooncryption-utopian-witness-gif](https://steemitimages.com/DQmYPUuQRptAqNBCQRwQjKWAqWU3zJkL3RXVUtEKVury8up/mooncryption-s-utopian-io-witness-gif.gif)](https://steemit.com/~witnesses)

**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**
properties (22)
authorutopian-io
permlinkre-pcsg-dev-steempunk-net-discord-bot-update-command-design-cli-command-mit-licence-20180219t173721379z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-02-19 17:37:21
last_update2018-02-19 17:37:21
depth1
children0
last_payout2018-02-26 17:37:21
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_length1,084
author_reputation152,955,367,999,756
root_title"STEEMPUNK-NET Discord Bot Update - command design, cli command, MIT licence"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,844,174
net_rshares0
@vladimir-simovic ·
Thank you for the contribution. It has been approved.

You can contact us on [Discord](https://discord.gg/uTyJkNm).
**[[utopian-moderator]](https://utopian.io/moderators)**
👍  
properties (23)
authorvladimir-simovic
permlinkre-pcsg-dev-steempunk-net-discord-bot-update-command-design-cli-command-mit-licence-20180219t054011627z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://discord.gg/uTyJkNm","https://utopian.io/moderators"],"app":"steemit/0.1"}
created2018-02-19 05:40:15
last_update2018-02-19 05:40:15
depth1
children1
last_payout2018-02-26 05:40:15
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_length172
author_reputation56,930,790,558,862
root_title"STEEMPUNK-NET Discord Bot Update - command design, cli command, MIT licence"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,700,992
net_rshares2,252,200,122
author_curate_reward""
vote details (1)
@dehenne ·
Thank you!
properties (22)
authordehenne
permlinkre-vladimir-simovic-re-pcsg-dev-steempunk-net-discord-bot-update-command-design-cli-command-mit-licence-20180219t064644710z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-02-19 06:46:48
last_update2018-02-19 06:46:48
depth2
children0
last_payout2018-02-26 06:46:48
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_length10
author_reputation8,032,043,781,732
root_title"STEEMPUNK-NET Discord Bot Update - command design, cli command, MIT licence"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id38,713,684
net_rshares0