Skip to main content

Use Case: Holiday Event - Temporary Exclusive Role and Points

Commands Used

  • /temprole scheduled_role
  • /task response_message
  • /task claim_role

Scenario

To enhance the festive atmosphere, provide members who react to a holiday greeting message with a temporary exclusive role and bonus points:

  • Members need to react to the holiday greeting message, expressing their holiday wishes, such as "Happy New Year 2025".
  • Upon completion, members will receive the @Happy New Year role and a reward of 2025 points.
  • Set up a role reward for the @Happy New Year role.
  • The @Happy New Year role will be automatically removed at the end of January.

Setup Process

  1. Set up the scheduled temporary role Use the /temprole scheduled_role command to set @Happy New Year as a scheduled role with an end time of 2025-01-31 23:59:

    /temprole scheduled_role role:@Happy New Year end_time:2025-01-31 23:59
  2. Set up the task Before the holiday, such as New Year's Day 2025, use the /task response_message command to create a limited-time task requiring members to react to the "Happy New Year 2025" greeting message. Upon completion, they will receive 2025 points and the @Happy New Year role:

    /task response_message reward:2025 role_reward:@Happy New Year duration:2w link:Message_Link
  3. Set up the role reward: Use the /task claim_role command to set up a role reward where members with the @Happy New Year role can claim 10 points daily.

    /task claim_role reward:10 period:Daily role:@Happy New Year

Expected Outcomes

  • Creating a Festive Atmosphere: The exclusive role and points enhance the holiday spirit within the community.
  • Increasing Member Engagement: Encourages members to actively participate in holiday greetings and activities.
  • Automatic Cleanup After the Holiday: Prevents the long-term retention of holiday-specific roles, keeping the server's role list tidy.