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

Add more db stats to chat command

This commit is contained in:
NG (Graham)
2026-01-05 20:34:53 -05:00
parent 0465f0664b
commit 47df45ece9
5 changed files with 35 additions and 2 deletions

View File

@@ -417,6 +417,7 @@ pub trait CommonUser: Send + Sync {
fn is_royal(&self) -> bool;
fn is_banned(&self) -> bool;
async fn db_metrics(&self) -> oj_rc_database::DatabaseMetrics;
async fn db_counters(&self) -> Vec<(&'static str, i64)>;
async fn currency(&self, ty: CurrencyType, op: CurrencyOp) -> Result<u64, polariton_server::operations::SimpleOpError>;
}