start
/start Command
/start
command is the entry point for users interacting with the CopperX Payout Bot. It provides a personalized welcome message and guides users on next steps based on their authentication and KYC verification status.Command Overview
src/bot/handlers/start.handler.ts
Functionality
/start
command, the bot:1.
2.
3.
4.
Response Examples
For New/Unauthenticated Users
š Welcome to CopperX Payout Bot!
This bot helps you manage your crypto transactions and wallet with ease. You can:
⢠Check your USDT balance
⢠Send funds to others
⢠View transaction history
To get started, please log in to your CopperX account using the button below or type /login.
For Authenticated Users Without KYC
š Welcome back, username!
ā ļø Your account KYC is not verified. You need to complete verification to use all features.
For Fully Verified Users
š Welcome back, username!
Your account is fully verified. You can use all features of the CopperX Payout bot.
Implementation Details
Related Files
src/bot/messages/start.messages.ts
- Contains welcome message templatessrc/constants/callback.enum.ts
- Defines callback data for inline buttonssrc/bot/utils/kyc-verification.ts
- Utility for checking KYC statusSession Management
/start
command doesn't specifically update the user's session state, as it's primarily an informational command. However, it does read the current session to check authentication and KYC status.Best Practices
Modified atĀ 2025-03-23 17:07:40