Add exception to on call message event handler

This commit is contained in:
2026-04-03 05:58:50 -03:00
parent c9b81219e5
commit 53e066f868
+1
View File
@@ -102,6 +102,7 @@ impl OnMessageHandler<State, Extras> for CallMessageHandler {
if UtcDateTime::from_unix_timestamp(event.author.id.timestamp() / 1000).unwrap()
> UtcDateTime::now() - Duration::days(30)
&& event.author.id.get() != rt.state.bot_owner_id
{
return Ok(());
}