pub struct AutoReplyHandler { /* private fields */ }Expand description
Auto reply handler that monitors danmaku for keywords and sends responses
Implementations§
Source§impl AutoReplyHandler
impl AutoReplyHandler
Sourcepub fn new(config: AutoReplyConfig) -> Self
pub fn new(config: AutoReplyConfig) -> Self
Create a new auto reply handler with the given configuration
Trait Implementations§
Source§impl Clone for AutoReplyHandler
impl Clone for AutoReplyHandler
Source§impl EventHandler for AutoReplyHandler
impl EventHandler for AutoReplyHandler
fn handle(&self, msg: &BiliMessage, context: &EventContext)
Auto Trait Implementations§
impl Freeze for AutoReplyHandler
impl !RefUnwindSafe for AutoReplyHandler
impl Send for AutoReplyHandler
impl Sync for AutoReplyHandler
impl Unpin for AutoReplyHandler
impl !UnwindSafe for AutoReplyHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more