Fix total users chat command, add help command

This commit is contained in:
NG (Graham) committed 2025-09-09 18:15:54 -04:00
1 parent 31585513dd
commit a694ee5f5f
10 files changed
+100 -36

No files matched your search

+1
View File
@@ -211,6 +211,7 @@ pub trait ChatUser: CommonUser {
//async fn has_pending_sanctions(&self) -> Result<bool, i16>;
async fn get_sanctions(&self, username: String) -> Result<polariton::operation::Typed<()>, i16>;
async fn set_sanction(&self, sanction: SetSanction) -> Result<(), i16>;
async fn get_total_registered_users(&self) -> Result<u64, polariton_server::operations::SimpleOpError>;
}
pub struct SetSanction {