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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user