1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

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

This commit is contained in:
NG (Graham)
2026-07-12 16:40:52 -04:00
parent e56d812cd5
commit b3e4f516ea
2 changed files with 14 additions and 0 deletions

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;