Fix dev messages not displaying repeated messages reliability... because that's now a problem

This commit is contained in:
NG (Graham) committed 2026-07-12 16:40:52 -04:00
1 parent e56d812cd5
commit b3e4f516ea
2 files changed
+14

No files matched your search

+9
View File
@@ -31,6 +31,15 @@ impl ChatSystemConfig {
chat_system,
user,
};
if text.to_lowercase().contains("meow") {
user.show_dev_message(
oj_rc_core::persist::user::intercom::IntercomDevMessage {
message: "MEOW".to_string(),
duration: 5,
},
vec![user.public_id().to_owned()],
).await;
}
for cmd in self.commands.iter() {
if let Some(result) = cmd.perform_if_match(text, ctx).await {
return result;