mod registry;
pub use registry::HandlerRegistry;
mod command;
pub use command::CommandHandler;
mod store;
use async_trait::async_trait;
use puniyu_adapter_api::AdapterApi;
use puniyu_event::Event;
#[async_trait]
pub trait Handler: Send + Sync {
async fn handle(&self, adapter: &'static dyn AdapterApi, event: Event);
fn name(&self) -> &str;
fn rank(&self) -> u8 {
5
}
}