feat: Bot management improvements with wallet configuration and duplicate detection
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user