âŦī¸Migrate Users Balance
Project owners can migrate all user balance from existing system via a CSV file.
Upload CSV for Balance Updates
/upload-csv <csv_file>
Features:
Bulk update user balances
Requires specific CSV format
Includes validation checks
Requires Administrator permission
CSV File Format Requirements
Required CSV Format:
Discord User ID,Discord Username,Balance
123456789,username,1000
Validation Rules:
Must have exactly 3 columns
Header must be exactly: "User ID, Username, Balance"
User ID must be a positive number
Balance cannot be negative
Username must not exceed 32 characters
All fields must be filled
No empty rows allowed
Upload Errors
The system will check for:
Invalid file format
Missing or incorrect headers
Invalid data types
Missing values
Negative balances
Invalid user IDs
Username length violations
Error Response Format:
CSV Validation Failed:
â Found X errors in the CSV file. No changes were made to the database.
Errors:
- Row X: [Error Description]
- Row Y: [Error Description]
... and Z more errors
Last updated