Kaynağa Gözat

Edit docs/configuring-playbook-bot-draupnir.md: use another user ID than alice or bob

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3862/head
Suguru Hirahara 1 yıl önce
ebeveyn
işleme
ff92f6c43a
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: E4F9743DAB4B7B75
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      docs/configuring-playbook-bot-draupnir.md

+ 1
- 1
docs/configuring-playbook-bot-draupnir.md Dosyayı Görüntüle

@@ -170,7 +170,7 @@ The simplest and most useful entity to target is `user`. Below are a few example


To create rules, you run commands in the Management Room (**not** in the policy list room). To create rules, you run commands in the Management Room (**not** in the policy list room).


- (ban a single user on a given homeserver): `!draupnir ban @alice:example.com my-bans Rude to others`
- (ban a single user on a given homeserver): `!draupnir ban @charles:example.com my-bans Rude to others`
- (ban all users on a given homeserver by using a [wildcard](https://the-draupnir-project.github.io/draupnir-documentation/moderator/managing-users#wildcards)): `!draupnir ban @*:example.org my-bans Spam server - all users are fake` - (ban all users on a given homeserver by using a [wildcard](https://the-draupnir-project.github.io/draupnir-documentation/moderator/managing-users#wildcards)): `!draupnir ban @*:example.org my-bans Spam server - all users are fake`


As a result of running these commands, you may observe: As a result of running these commands, you may observe:


Yükleniyor…
İptal
Kaydet