[−][src]Trait automate::Listener
Provided methods
fn on_guild_create<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 GuildCreateDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 GuildCreateDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn on_guild_update<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 GuildUpdateDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 GuildUpdateDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn on_message_create<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageCreateDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageCreateDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn on_message_update<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageUpdateDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageUpdateDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn on_message_delete<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageDeleteDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageDeleteDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn on_message_delete_bulk<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageDeleteBulkDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageDeleteBulkDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn on_reaction_add<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageReactionAddDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageReactionAddDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn on_reaction_remove<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageReactionRemoveDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageReactionRemoveDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn on_reaction_remove_all<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageReactionRemoveAllDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 MessageReactionRemoveAllDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn on_presence_update<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 PresenceUpdateDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 PresenceUpdateDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
fn on_typing_start<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 TypingStartDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
_session: &'life1 Session,
_data: &'life2 TypingStartDispatch
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,