add: developer panel
This commit is contained in:
parent
ebded00fd3
commit
39574df691
44 changed files with 982 additions and 84 deletions
|
@ -16,7 +16,7 @@ impl AuditLogEntry {
|
|||
pub fn new(moderator: usize, content: String) -> Self {
|
||||
Self {
|
||||
id: Snowflake::new().to_string().parse::<usize>().unwrap(),
|
||||
created: unix_epoch_timestamp() as usize,
|
||||
created: unix_epoch_timestamp(),
|
||||
moderator,
|
||||
content,
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ impl Report {
|
|||
pub fn new(owner: usize, content: String, asset: usize, asset_type: AssetType) -> Self {
|
||||
Self {
|
||||
id: Snowflake::new().to_string().parse::<usize>().unwrap(),
|
||||
created: unix_epoch_timestamp() as usize,
|
||||
created: unix_epoch_timestamp(),
|
||||
owner,
|
||||
content,
|
||||
asset,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue