From df6fcbd5ee2c46e383c3fe223120a9b092736a60 Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Sat, 3 Jun 2023 15:21:49 +0200 Subject: [PATCH] Add ReactionMeta struct --- src/api/channels/reactions.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/api/channels/reactions.rs b/src/api/channels/reactions.rs index cd53b7b..ac66337 100644 --- a/src/api/channels/reactions.rs +++ b/src/api/channels/reactions.rs @@ -1 +1,9 @@ use crate::types; + +/** +Extends the [`types::Reaction`] struct with useful metadata. + */ +pub struct ReactionMeta { + pub message_id: types::Snowflake, + pub reaction: types::Reaction, +}