🤖

Bot Commands (ENG)

Challenge Onboarding & Registration Commands

/challenge-start

Displays the challenge onboarding message.
Description: Guides new users on how to sign up on Codetree and submit their ID.
When to use: First-time users before running /challenge-join.

/challenge-join your_codetree_id

Registers your Codetree ID to join the challenge.
Description: Connects your Codetree and Discord accounts. You can register a referrer.
Flow:
1.
Validate the ID
2.
Choose whether to register a referrer
3.
Select challenge period (7-day or 14-day)
Bonus: Both you and your referrer receive points.

Referral Features

/referral-register

Use this if you want to register a referrer later.
Description: For users who skipped referrer registration initially.
Note: You cannot re-register if a referrer is already set.

/referral-share

View and share your personal referral code.

/referral-rank

Check the top referral rankings.
Description: Shows the top 10 users based on referral count.
Features:
See your referral count
See your rank
All user IDs are masked for privacy

Progress & Points Management

/challenge-status

Check your current points, bonuses, and usage history.
Current point balance
Points from problem solving
Chapter completion bonuses
Referral bonuses
Usage history

/challenge-today-goal

Shows today’s study goals (chapters & lessons).
/ ⬜️ depending on completion
Each lesson is a clickable Codetree link

/challenge-goal

Use this command to set your challenge goal (7-day or 14-day).
Description: This command is for users who have joined the challenge but haven’t selected a challenge duration yet.
You will be prompted with buttons to choose between the 7-day and 14-day options.
Requirements:
You must have already registered using /challenge-join.
If you’ve already selected a goal, you cannot reset it.

/challenge-update

Updates your points based on solved problems on Codetree.
Max 5 times per day
Automatically grants chapter bonuses

Point Usage (Lottery System)

/challenge-lottery

Use points to enter lotteries.
/challenge-lottery list: View available items
/challenge-lottery invest product_id quantity: Buy tickets and enter

Help & Questions

/challenge-help

Shows the page with full command guide.

/ask-question

Submit programming questions to the official support channel.
Modal fields:
Problem link
Description of the question
Code (language selectable)
Automatically posts your question in a nice format