Update To @BDCommunity Discord Bot

in #utopian-io6 years ago

bdcommunity-bot.png

Repository

https://github.com/CodeBull/BDCommunityDiscordBot

What is New?

User Registration

Added $register and $verify commands to enable user to link their Discord account to Steemit account. It is required to efficiently operate the on Discord Exchange. $register command checks if an user with provided name exists on STEEM then generates a random code and saves user's discord ID and STEEM username into database. User is told to send 0.001 SBD to the bot account with generated code for that user. $verify commands checks user's account history to verify if the user made a transfer to the bot account with specified memo. GH.

Example:

$register reazuliqbal and $verify reazuliqbal

On Discord Exchange

A group of commands are added to enable Discord members to exchange STEEM/SBD for local currency with peers using STEEM's escrow functionality.

$exchange

$exchange command generates an escrow transfer using SteemConnect and DMs sender with transfer hot sign link and receiver with escrow approval link along with a snapshot of the escrow transfer. GH.

Usages:
$exchange <AMOUNT> <CURRENCY> <MENTION RECEIVER> <EXPIRATION IN DAYS>

Example:
$exchange 10 STEEM @reazuliqbal#1149 30

exchange.png

$trxstatus

This command checks the current status of the escrow from blockchain and returns a Discord RichEmbed to the user. It can be used in both DM and Guilds. GH.

Usages:
$trxstatus <ESCROW_ID> <OPTIONAL_SENDER_NAME>

Example
$trxstatus 33899032

$release

Upon successful completion of terms of transaction or in case of dispute both party can choose to release the escrowed fund to opposite party. This command will generate a SteemConnect hot sign link and can be used on both DM and Guilds. GH.

Usages:
$release <ESCROW_ID>

Example
$release 33899032

$dispute

When things won't go according to plan, either party can issue this dispute command and get hot sign link along with a snapshot of the transaction in DM. Agent will decide whos at fault and release escrow to the opposite party. GH.

Usages:
$dispute <ESCROW_ID>

Example
$dispute 33899032

How this will be used?

Two members may agree on a price in fiat to exchange STEEM/SBD. One will send fiat, other will send SBD/STEEM, but who will send first, there is a problem of trust. These updates will remove uncertainty and trust issues because both party now knows they will receive their desired currency. They also don't need to know other's STEEM username, one can just tag the receiver and the bot will take care of the rest.

TODO

  • Auto approval for agent
  • DM to beneficiary only when a transaction is created
Sort:  

Thank you for your contribution.

Your contribution has been evaluated according to Utopian rules and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post,Click here


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Congratulations! This post has been upvoted by @bdcommunity. It is a curation and support project for Bangladeshi content creators. Please join us at the STEEM.com.bd Discord Channel.

Hey @reazuliqbal
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

YOU JUST GOT UPVOTED

Congratulations,
you just received a 45.45% upvote from @steemhq - Community Bot!

Wanna join and receive free upvotes yourself?
Vote for steemhq.witness on Steemit or directly on SteemConnect and join the Community Witness.

This service was brought to you by SteemHQ.com

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by reazuliqbal 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.

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.034
BTC 63799.64
ETH 3130.40
USDT 1.00
SBD 3.97