summaryrefslogtreecommitdiff
path: root/src/handlers/event/mod.rs
diff options
context:
space:
mode:
authorTheKodeToad <[email protected]>2023-12-14 14:21:14 +0000
committerseth <[email protected]>2023-12-15 17:54:58 -0500
commitfd0c1b3141d44325afdc664bf771bdd362fd85f3 (patch)
tree578d1fcd0953d45cf85cafc4acb0cb5564057771 /src/handlers/event/mod.rs
parent37fff1f7622c4c29b981d2612a03692befd115db (diff)
pinboard: less hacky/more consistent pinner detection
Diffstat (limited to 'src/handlers/event/mod.rs')
-rw-r--r--src/handlers/event/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/handlers/event/mod.rs b/src/handlers/event/mod.rs
index 63060e5..5fd3db5 100644
--- a/src/handlers/event/mod.rs
+++ b/src/handlers/event/mod.rs
@@ -23,10 +23,9 @@ pub async fn handle(
Event::Message { new_message } => {
message::handle(ctx, framework, new_message, data).await?;
+ pinboard::handle(ctx, new_message, data).await?;
}
- Event::ChannelPinsUpdate { pin } => pinboard::handle(ctx, pin, data).await?,
-
Event::ReactionAdd { add_reaction } => reactboard::handle(ctx, add_reaction, data).await?,
Event::GuildCreate { guild, is_new } => guild::handle_create(guild, is_new, data).await?,