Discord-Reward

This guide provides step-by-step instructions for creating and configuring Discord rewards on the platform. Follow these steps to learn how to set up everything from the reward's cost and conditions to its final on-chain confirmation.

🎁 How to Configure Discord-Based Rewards in the Loyalty Admin Portal

This guide walks you through the process of setting up a reward that assigns a role to users in your Discord server upon meeting certain loyalty criteria.


Preconditions

  • You are logged into the Loyalty Admin Portal with admin privileges.
  • You have connected your Discord server to the platform.
  • Mojito’s Discord bot is added to your server with permission to assign roles.
  • At least one role exists in your Discord server.


🔧 Step-by-Step Configuration

Step 1: Basic Information

Reward Type

  • Select DISCORD as the reward type from the available options.

Reward Name : Enter a meaningful name that represents the reward.

Reward Description Provide a brief description of what this reward offers.



Step 2: Reward Criteria & Conditions

This section allows you to define how users become eligible for the reward.

Available RewardsEnter the total number of users who can claim this reward.

Reward Cost Type (Threshold) : Select the no of missions need to complete by the user inorder to earn this reward

Loyalty Points Cost: Specify the number of points required to claim the reward.


Step 3: Discord Settings

This section configures the actual Discord reward behavior.

Reward Strategy

  • Select: Assign user a role
⚠️

Note: You are using a Role-Based Reward Strategy. Make sure the Mojito bot has role assignment permissions on your server to successfully assign roles to users. Go here to know more about role-hierarchy-setup

Server Select the Discord server from the dropdown.

Assign Role Choose the role to assign upon reward claim.

Step 4: Complete reward creation

Tap on Add reward after entering all the details


**Step 5:Transaction success Confirmation

View on SuiScan link: Click the link to view transaction details on SuiScan, where you can check the success and status of your transaction.


🔍 Example Configuration Summary

FieldValue
Reward TypeDISCORD
Reward NameVIP Member Role
DescriptionGrants access to the private VIP channel
Available Rewards100
Threshold TypePoints
Loyalty Points Cost500
Reward StrategyAssign user a role
ServerMojito's Server 1
RoleVIP Access

📌 Things to Keep in Mind

  • Ensure your Discord roles are properly configured in your server.
  • Mojito’s bot must be added and granted role management permissions.
  • Role assignment is instant once the user claims the reward (if they meet the criteria).
  • Use clear reward descriptions so users know what they’re earning.