diff options
author | Ashelyn Rose <git@ashen.earth> | 2024-10-05 18:02:12 -0600 |
---|---|---|
committer | Ashelyn Rose <git@ashen.earth> | 2024-10-05 18:02:12 -0600 |
commit | ca4b0e32be531053f19ce2895b994130b247af4a (patch) | |
tree | bdfef248c6917109b6a768bed9733b0999ae0e2f /src/system/types.rs | |
parent | 4fa4907c3da23249ddec2bcb50e48f708152059e (diff) |
Add sent-message cache for looking up command targets
Diffstat (limited to 'src/system/types.rs')
-rw-r--r-- | src/system/types.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/system/types.rs b/src/system/types.rs index 483fbbd..89eb189 100644 --- a/src/system/types.rs +++ b/src/system/types.rs @@ -14,7 +14,7 @@ pub type Status = twilight_model::gateway::presence::Status; #[derive(Clone)] pub enum Message { - Complete(FullMessage), + Complete(FullMessage, MemberId), Partial(PartialMessage, MemberId), } @@ -31,7 +31,7 @@ pub enum SystemEvent { UpdateClientStatus(MemberId), // User event handling - NewMessage(Timestamp, FullMessage), + NewMessage(Timestamp, FullMessage, MemberId), EditedMessage(MessageEvent), NewReaction(ReactionEvent), |