add: layouts api

This commit is contained in:
trisua 2025-07-02 20:14:04 -04:00
parent c83d0a9fc0
commit b493b2ade8
10 changed files with 353 additions and 22 deletions

View file

@ -397,10 +397,7 @@ macro_rules! auto_method {
} else {
self.create_audit_log_entry($crate::model::moderation::AuditLogEntry::new(
user.id,
format!(
"invoked `{}` with x value `{id}` and y value `{x:?}`",
stringify!($name)
),
format!("invoked `{}` with x value `{id}`", stringify!($name)),
))
.await?
}