Before reading below, make sure you have invited the Emerald bot to your Discord server using this link.
βοΈCreate a Challenge in Discord
This discord command will let you create your own challenges for your community. You can access a detailed list (discord name + wallet addresses) of those who complete it. And you can automatically run raffles based on who completed the challenge.
Command
/ufcstrike challenge
Inputs
title- the title of your challenge
description- the description of your challenge
set_ids- a comma-separated list of Set (Edition) IDs that users must own in order to pass the challenge (ex. 300,119,67,299). A Set ID is found in the URL of a specific edition. For example, the Set ID of https://ufcstrike.com/v2/edition/300 is 300.
end_date- a unix timestamp (represented in seconds) for when your challenge should end (ex. 1694199412). You can use https://www.unixtimestamp.com/ to get the unix timestamp.
Accessing User Completion Data
Once you create the challenge, you can click the "Check Status" button. From here, you can click "View Completers" to get a list of users (their discord names + wallet addresses) who completed the challenge.
The bot automatically re-verifies everyone before placing them on the returned file.
Running a Raffle
Once you create the challenge, you can click the "Check Status" button. From here, you can click "Raffle Winner" to automatically select 1 user who completed the challenge as the winner. You can run this raffle any amount of times.
The bot automatically re-verifies everyone before selecting a winner.
Helpful Pictures
An example of how you'd create the challenge in Discord