pub fn delete_all_bot_data(bot_id: &str) -> Result<(), EngineError> {
    let mut db = init_db()?;
    init_logger();

    bot::delete_all_bot_data(bot_id, &mut db)
}
/**
 * Delete all data related to bot: versions, conversations, messages, memories, nodes, integrations
 */
Delete all data related to bot: versions, conversations, messages, memories, nodes, integrations
Delete all data related to bot : versions conversations messages memories nodes integrations
pub fn delete_all_bot_data(bot_id: &str) -> Result<(), EngineError> {
    let mut db = init_db()?;
    init_logger();
    bot::delete_all_bot_data(bot_id, &mut db)
}
pub fn delete_all_bot_data ( bot_id : & str ) -> Result < ( ) , EngineError > { let mut db = init_db ( ) ? ; init_logger ( ) ; bot :: delete_all_bot_data ( bot_id , & mut db ) }
Delete all data related to bot: versions, conversations, messages, memories, nodes, integrations
Delete all data related to bot : versions conversations messages memories nodes integrations
bot_id
&str
bot_id
&str