Skip to content

Commit 370f01c

Browse files
committed
Fix !draupnir ban command example to not include a dash
A dash in the ban reason message makes Draupnir report this error: > There was an unexpected argument provided for this command. > draupnir ban <entity> <list> [...reason] > Encountered unexpected keyword argument: all
1 parent 6658c69 commit 370f01c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/configuring-playbook-bot-draupnir.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ The simplest and most useful entity to target is `user`. Below are a few example
259259
To create rules, you run commands in the Management Room (**not** in the policy list room).
260260

261261
- (ban a single user on a given homeserver): `!draupnir ban @charles:example.com my-bans Rude to others`
262-
- (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`
262+
- (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`
263263

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

0 commit comments

Comments
 (0)