Difference between revisions of "Discord Bot"

From Silver Sun Republic Codex
m
Line 1: Line 1:
 
'''Registration Commands'''
 
'''Registration Commands'''
 +
 
!register - Provides the Registration URL and checks if your account is registered successfully.
 
!register - Provides the Registration URL and checks if your account is registered successfully.
 
!immigrate - Links your Discord Roles to your website account.
 
!immigrate - Links your Discord Roles to your website account.
  
 
'''Branch/Chapter Commands'''
 
'''Branch/Chapter Commands'''
 +
 
!joinBranch branchname - Adds the corresponding branch to your roles.
 
!joinBranch branchname - Adds the corresponding branch to your roles.
 
* atlas for ATLAS Branch
 
* atlas for ATLAS Branch
 
* lif for Life is Feudal Branch
 
* lif for Life is Feudal Branch
 +
 
!leaveBranch branchname - Removes the corresponding branch from your roles.
 
!leaveBranch branchname - Removes the corresponding branch from your roles.
 
* atlas for ATLAS Branch
 
* atlas for ATLAS Branch
Line 12: Line 15:
  
 
'''Banking Commands'''
 
'''Banking Commands'''
 +
 
* only works in #bank-of-soacio channel
 
* only works in #bank-of-soacio channel
 +
 
!transfer-funds amount type[gold, silver, bronze] @mention - transfers funds to @mention
 
!transfer-funds amount type[gold, silver, bronze] @mention - transfers funds to @mention
 +
 
!funds-balance - DMs you your current balances
 
!funds-balance - DMs you your current balances
 +
 
!buy-currency amount type[gold, silver, bronze] - buys "up" meaning buys gold with silver, silver with bronze
 
!buy-currency amount type[gold, silver, bronze] - buys "up" meaning buys gold with silver, silver with bronze
 +
 
!sell-currency amount type[gold, silver, bronze] - sells "down" meaning sells gold for silver, silver for bronze
 
!sell-currency amount type[gold, silver, bronze] - sells "down" meaning sells gold for silver, silver for bronze
 +
 
!exchange-rate - lists current exchange rates of currency in effect
 
!exchange-rate - lists current exchange rates of currency in effect
 
   
 
   
 
'''Banking Admin Commands'''  
 
'''Banking Admin Commands'''  
 +
 
* only available to ministers and above
 
* only available to ministers and above
 +
 
!deduct-funds amount type[gold, silver, bronze] @mention - deducts funds from @mention
 
!deduct-funds amount type[gold, silver, bronze] @mention - deducts funds from @mention
 +
 
!deposit-funds amount type[gold, silver, bronze] @mention - deposits funds for @mention
 
!deposit-funds amount type[gold, silver, bronze] @mention - deposits funds for @mention
 +
 
!set-rate type[gold, silver, bronze] rate - modifies the exchange rate by type
 
!set-rate type[gold, silver, bronze] rate - modifies the exchange rate by type
  
*** Redeeming Premium Currency Commands***
+
'''Redeeming Premium Currency Commands'''
 +
 
 
!redeem-list - DMs the current list of redeemable items and their costs
 
!redeem-list - DMs the current list of redeemable items and their costs
 +
 
!redeem-funds item - redeems items from the items list and deducts their cost in gold (will prompt in DM for confirmation)
 
!redeem-funds item - redeems items from the items list and deducts their cost in gold (will prompt in DM for confirmation)
 
   
 
   
** Contracting Commands - only works in #bank-of-soacio channel **
+
'''Contracting Commands'''
 +
 
 +
* only works in #bank-of-soacio channel
 +
 
 
!contract-open item/service units price[per unit] currency - opens a contract with item/service, number of units, price per unit, and currency to pay out
 
!contract-open item/service units price[per unit] currency - opens a contract with item/service, number of units, price per unit, and currency to pay out
 +
 
!contract-award ID @mention - awards contract to @mention target
 
!contract-award ID @mention - awards contract to @mention target
 +
 
!contract-payout increment[50, 100] - pays out contract total as a percentage, 50 or 100 percent
 
!contract-payout increment[50, 100] - pays out contract total as a percentage, 50 or 100 percent
 +
 
!contract-close - closes out the contract and pays out any remaining award funds
 
!contract-close - closes out the contract and pays out any remaining award funds
 +
 
!contracts - DMs current contracts open and awarded  
 
!contracts - DMs current contracts open and awarded  
  
***For any questions or assistance please contact Duke Bernardo***"""
+
For any questions or assistance please contact Duke Bernardo

Revision as of 04:31, 20 May 2020

Registration Commands

!register - Provides the Registration URL and checks if your account is registered successfully. !immigrate - Links your Discord Roles to your website account.

Branch/Chapter Commands

!joinBranch branchname - Adds the corresponding branch to your roles.

  • atlas for ATLAS Branch
  • lif for Life is Feudal Branch

!leaveBranch branchname - Removes the corresponding branch from your roles.

  • atlas for ATLAS Branch
  • lif for Life is Feudal Branch

Banking Commands

  • only works in #bank-of-soacio channel

!transfer-funds amount type[gold, silver, bronze] @mention - transfers funds to @mention

!funds-balance - DMs you your current balances

!buy-currency amount type[gold, silver, bronze] - buys "up" meaning buys gold with silver, silver with bronze

!sell-currency amount type[gold, silver, bronze] - sells "down" meaning sells gold for silver, silver for bronze

!exchange-rate - lists current exchange rates of currency in effect

Banking Admin Commands

  • only available to ministers and above

!deduct-funds amount type[gold, silver, bronze] @mention - deducts funds from @mention

!deposit-funds amount type[gold, silver, bronze] @mention - deposits funds for @mention

!set-rate type[gold, silver, bronze] rate - modifies the exchange rate by type

Redeeming Premium Currency Commands

!redeem-list - DMs the current list of redeemable items and their costs

!redeem-funds item - redeems items from the items list and deducts their cost in gold (will prompt in DM for confirmation)

Contracting Commands

  • only works in #bank-of-soacio channel

!contract-open item/service units price[per unit] currency - opens a contract with item/service, number of units, price per unit, and currency to pay out

!contract-award ID @mention - awards contract to @mention target

!contract-payout increment[50, 100] - pays out contract total as a percentage, 50 or 100 percent

!contract-close - closes out the contract and pays out any remaining award funds

!contracts - DMs current contracts open and awarded

For any questions or assistance please contact Duke Bernardo