[][src]Trait ksoft::EventHandler

pub trait EventHandler: Send + Sync + 'static {
#[must_use]    pub fn ban_updated<'life0, 'async_trait>(
        &'life0 self,
        _data: Vec<BanUpdate>
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... } }

Provided methods

#[must_use]pub fn ban_updated<'life0, 'async_trait>(
    &'life0 self,
    _data: Vec<BanUpdate>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Event triggered every 5 minutes if there is any ban update

Loading content...

Implementors

Loading content...