Skip to content

Commit

Permalink
add documentation for deactivate cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jjj333-p committed Jan 16, 2024
1 parent 11307a3 commit a2227fc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ Currently implemented commands:
- `f` or `false` to keep all sessions logged in.
- `? password` - optionally set a password to reset to. If no password is supplied, it will default to a randomized 35 byte base64 string which will be returned. Because of Dendrite the password has to be at least 8 characters. Due to technical difficulties you can not have any spaces in a password set through this interface.

- `deactivate <mxid/localpart>`

deactivates the given user
> **TODO:** Add confirmation prompt
- `mxid/localpart` - you can supply either the localpart of a user (i.e. `jjj333`), or the entire mxid (i.e. `@jjj333:pain.agency`). Do note that this has to be a local user as there is nothing that can be done for remote users.
- Sets the displayname and pfp to those defined in the bot login.yaml as dendrite doesnt remove these before deactivating, therefore we need to sanatize, and we can add flair to it in the meantime.

Space: [#admin-interface:pain.agency](https://matrix.to/#/#admin-interface:pain.agency)
Discussion Room: [#admin-interface-support:pain.agency](https://matrix.to/#/%23admin-interface-support%3Apain.agency)

0 comments on commit a2227fc

Please sign in to comment.