phoebe/phoebe/src/service.rs

8 lines
192 B
Rust

use mid_chat::event::ChatEvent;
#[async_trait::async_trait]
pub trait Service {
fn get_service_tag(&self) -> &'static str;
async fn handle_chat_event(&mut self, event: &ChatEvent);
}