πŸ€–

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