Usage

This guide explains how to set up and use SellAuth AIO to manage your store, orders, stock, and customer roles directly from Discord.

1

Open config file

Open the config.yaml file in a text editor.

2

Fill configuration

Fill in your Discord bot token, roles, and SellAuth shop details as shown in the sample configuration below.

Sample Configuration (config.yaml)

config.yaml
discord:
  token: "BOT-TOKEN"                  # Your Discord Bot Token
  admin_role_id: 1234567890           # Admin role ID for advanced commands
  customer_role_id: 1234567890        # Customer role ID for buyers
  status:
    type: "playing"                   # Activity type: "playing", "watching", "listening"
    text: "Orders"                    # Status text displayed on the bot

sellauth:
  api_key: ""                         # Your SellAuth API Key
  api_url: "https://api.sellauth.com" # Base API URL (usually unchanged)
  shop_id: 12345                      # Your shop ID in SellAuth
circle-info

Notes:

  • Make sure the bot token has permissions to send messages and manage roles in your Discord server.

  • admin_role_id allows certain users to access advanced commands.

  • customer_role_id will automatically assign roles to verified buyers.

  • api_key and shop_id must match your SellAuth store.


Commands

/view-invoice

Description: View details of a specific order. Usage: /view-invoice [invoice_id]

/process-invoice

Description: Process an order to deliver products automatically. Usage: /process-invoice [invoice_id]

/product-hold

Description: Place an order on hold. Usage: /product-hold [invoice_id]

/send-serials

Description: Deliver purchased products or serials automatically. Usage: /send-serials [invoice_id]

/stock

Description: Check the stock of a product. Usage: /stock [product_id]

/coupon-list

Description: List all available coupons. Usage: /coupon-list

/create-coupon

Description: Create a new coupon for your store. Usage: /create-coupon [code] [discount] [expiry_date]

/delete-coupon

Description: Delete an existing coupon. Usage: /delete-coupon [code]

/feedback-reply

Description: Reply to customer reviews. Usage: /feedback-reply [invoice_id] [message]

/claim-customer-role

Description: Assigns the customer role to verified buyers automatically. Usage: /claim-customer-role [user_id]