feat: Bot management improvements with wallet configuration and duplicate detection

This commit is contained in:
2025-10-10 12:34:00 +01:00
parent 91000035f5
commit 7008a95df3
9 changed files with 408 additions and 13 deletions

View File

@@ -98,16 +98,31 @@ public class BotWizardDto
[Required(ErrorMessage = "Bot name is required")]
[StringLength(50)]
public string BotName { get; set; } = string.Empty;
[Required(ErrorMessage = "Bot username is required")]
[StringLength(100)]
public string BotUsername { get; set; } = string.Empty;
[StringLength(500)]
public string Description { get; set; } = string.Empty;
[StringLength(50)]
public string PersonalityName { get; set; } = string.Empty;
public string BotToken { get; set; } = string.Empty;
}
public class UpdateBotWalletsDto
{
public Dictionary<string, string> Wallets { get; set; } = new();
}
public class BotWalletEntry
{
[Required]
public string Currency { get; set; } = string.Empty;
[Required]
[StringLength(500)]
public string Address { get; set; } = string.Empty;
}