[−][src]Trait dyscord::Handler
Provided methods
#[must_use]fn on_connect<'async_trait>(
self: Arc<Self>,
ctx: Arc<Context>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
self: Arc<Self>,
ctx: Arc<Context>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn on_message_create<'async_trait>(
self: Arc<Self>,
ctx: Arc<Context>,
message: Message
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
self: Arc<Self>,
ctx: Arc<Context>,
message: Message
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn on_message_update<'async_trait>(
self: Arc<Self>,
ctx: Arc<Context>,
message: Message
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
self: Arc<Self>,
ctx: Arc<Context>,
message: Message
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn on_message_delete<'async_trait>(
self: Arc<Self>,
ctx: Arc<Context>,
m: MessageDelete
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
self: Arc<Self>,
ctx: Arc<Context>,
m: MessageDelete
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn on_message_delete_bulk<'async_trait>(
self: Arc<Self>,
ctx: Arc<Context>,
m: MessageDeleteBulk
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
self: Arc<Self>,
ctx: Arc<Context>,
m: MessageDeleteBulk
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn on_guild_member_create<'async_trait>(
self: Arc<Self>,
ctx: Arc<Context>,
gm: GuildMemberAdd
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
self: Arc<Self>,
ctx: Arc<Context>,
gm: GuildMemberAdd
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn on_guild_member_update<'async_trait>(
self: Arc<Self>,
ctx: Arc<Context>,
gm: GuildMemberUpdate
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
self: Arc<Self>,
ctx: Arc<Context>,
gm: GuildMemberUpdate
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn on_guild_member_remove<'async_trait>(
self: Arc<Self>,
ctx: Arc<Context>,
gm: GuildMemberRemove
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
self: Arc<Self>,
ctx: Arc<Context>,
gm: GuildMemberRemove
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
#[must_use]fn on_guild_create<'async_trait>(
self: Arc<Self>,
ctx: Arc<Context>,
gld: Guild
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
self: Arc<Self>,
ctx: Arc<Context>,
gld: Guild
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,