From 62858caaa4101f34e62604163471af1c57133da1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 15 Jul 2018 14:27:25 +0900 Subject: [PATCH] Update manage odc --- docs/manage.en.md | 13 ++++++++++++- docs/manage.ja.md | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/docs/manage.en.md b/docs/manage.en.md index 910c14958..9788c5d1f 100644 --- a/docs/manage.en.md +++ b/docs/manage.en.md @@ -9,5 +9,16 @@ When you access port 3050, you will see the UI. ## Suspend users ``` shell -node cli/suspend (User-ID) +node cli/suspend (User-ID or Username) +``` +e.g. +``` shell +# Use id +node cli/suspend 57d01a501fdf2d07be417afe + +# Use username +node cli/suspend @syuilo + +# Use username (remote) +node cli/suspend @syuilo@misskey.xyz ``` diff --git a/docs/manage.ja.md b/docs/manage.ja.md index d56ed4c19..615d7be5f 100644 --- a/docs/manage.ja.md +++ b/docs/manage.ja.md @@ -9,5 +9,16 @@ node_modules/kue/bin/kue-dashboard -p 3050 ## ユーザーを凍結する ``` shell -node cli/suspend (ユーザーID) +node cli/suspend (ユーザーID または ユーザー名) +``` +例: +``` shell +# ユーザーID +node cli/suspend 57d01a501fdf2d07be417afe + +# ユーザー名 +node cli/suspend @syuilo + +# ユーザー名 (リモート) +node cli/suspend @syuilo@misskey.xyz ```