chore(admin): remove user type toggles (#3161)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-03 14:22:13 +02:00
1 parent 81d69c41f5
commit 7fa00c0e89
90 files changed
+67 -627

No files matched your search

-16
View File
@@ -178,22 +178,6 @@ pub async fn dispatch(
"Failed to clear user fields",
)
}
"set_bot_status" => {
let val = form.bool_value("bot");
DispatchOutcome::from_result(
client.set_bot_status(user_id, val).await,
"Bot status updated successfully",
"Failed to update bot status",
)
}
"set_system_status" => {
let val = form.bool_value("system");
DispatchOutcome::from_result(
client.set_system_status(user_id, val).await,
"System status updated successfully",
"Failed to update system status",
)
}
"change_username" => {
let Some(username) = get("username") else {
return DispatchOutcome::error("Username is required");