aboutsummaryrefslogtreecommitdiffstats
path: root/mumlib
diff options
context:
space:
mode:
authorEskil Queseth <eskilq@kth.se>2021-05-21 14:53:58 +0200
committerEskil Queseth <eskilq@kth.se>2021-05-21 14:53:58 +0200
commitd6779ca065a896d329a7634d69a5f4270d829b73 (patch)
tree505cd0eef7a4981e44c06a7fc45062ce2b4e9b15 /mumlib
parent5d05d292ddb7f8b28b71abd46930028b6e66dfde (diff)
downloadmum-d6779ca065a896d329a7634d69a5f4270d829b73.tar.gz
rework event system to allow multiple triggers
Diffstat (limited to 'mumlib')
-rw-r--r--mumlib/src/command.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/mumlib/src/command.rs b/mumlib/src/command.rs
index 4e8775f..c4fc913 100644
--- a/mumlib/src/command.rs
+++ b/mumlib/src/command.rs
@@ -64,6 +64,9 @@ pub enum CommandResponse {
},
PastMessages {
messages: Vec<(String, String)>,
+ },
+ PastMessage {
+ message: (String, String),
}
}