Trait discord_sdk::DiscordHandler [−][src]
pub trait DiscordHandler: Send + Sync {
fn on_message<'life0, 'async_trait>(
&'life0 self,
msg: DiscordMsg
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}