amsel 0.1.0

Framework for building Bluesky Bots
Documentation
mod bot;
mod error;
mod record;
mod session;
mod utils;

pub use bot::AmselBot;
pub use bot::CursorStore;
pub use bot::SimpleFileCursorStore;
pub use record::feed::BskyFeed;
pub use record::post::BskyPost;
pub use session::BskySession;

pub use utils::BskyBotUtils;

pub type BskyRecordRef = atrium_api::com::atproto::repo::strong_ref::MainData;
pub type BskyPostRawRecord = atrium_api::app::bsky::feed::post::RecordData;
pub type AtpRecordDatetime = atrium_api::types::string::Datetime;

/// Type alias to use this crate's [`Error`](enum@crate::Error) type in a [`Result`](core::result::Result).
pub type Result<T> = core::result::Result<T, crate::error::Error>;