|
|
|
@ -46,8 +46,8 @@ impl EventHandler for Handler
|
|
|
|
|
|
|
|
|
|
|
|
async fn reaction_add(&self, ctx: Context, add_reaction: Reaction)
|
|
|
|
async fn reaction_add(&self, ctx: Context, add_reaction: Reaction)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
println!("reaction_add event");
|
|
|
|
// println!("reaction_add event");
|
|
|
|
//utils::Logger::log_message(ctx, &format!("reaction add event: {:#?}", add_reaction)).await;
|
|
|
|
// utils::Logger::log_message(ctx, &format!("reaction add event: {:#?}", add_reaction)).await;
|
|
|
|
// todo!()
|
|
|
|
// todo!()
|
|
|
|
|
|
|
|
|
|
|
|
commands::handle_reaction_add(ctx, add_reaction).await;
|
|
|
|
commands::handle_reaction_add(ctx, add_reaction).await;
|
|
|
|
@ -55,8 +55,8 @@ impl EventHandler for Handler
|
|
|
|
|
|
|
|
|
|
|
|
async fn reaction_remove(&self, ctx: Context, removed_reaction: Reaction)
|
|
|
|
async fn reaction_remove(&self, ctx: Context, removed_reaction: Reaction)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
println!("reaction_remove event");
|
|
|
|
// println!("reaction_remove event");
|
|
|
|
//utils::Logger::log_message(ctx, &format!("reaction removed event: {:#?}", removed_reaction)).await;
|
|
|
|
// utils::Logger::log_message(ctx, &format!("reaction removed event: {:#?}", removed_reaction)).await;
|
|
|
|
|
|
|
|
|
|
|
|
commands::handle_reaction_remove(ctx, removed_reaction).await;
|
|
|
|
commands::handle_reaction_remove(ctx, removed_reaction).await;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|