summary refs log tree commit diff
path: root/src/system/types.rs
diff options
context:
space:
mode:
authorAshelyn Rose <git@ashen.earth>2024-10-05 18:02:12 -0600
committerAshelyn Rose <git@ashen.earth>2024-10-05 18:02:12 -0600
commitca4b0e32be531053f19ce2895b994130b247af4a (patch)
treebdfef248c6917109b6a768bed9733b0999ae0e2f /src/system/types.rs
parent4fa4907c3da23249ddec2bcb50e48f708152059e (diff)
Add sent-message cache for looking up command targets
Diffstat (limited to 'src/system/types.rs')
-rw-r--r--src/system/types.rs4
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),