Skip to content

Commit

Permalink
Fix adminme.js usage for matrix-appservice-discord
Browse files Browse the repository at this point in the history
Related to:
- matrix-org/matrix-appservice-discord#666
- matrix-org/matrix-appservice-discord#667

Will fix:
- #795
- #822

.. but only after a new version of matrix-appservice-discord is released
and we upgrade to it.
  • Loading branch information
spantaleev committed Jan 25, 2021
1 parent dd24942 commit c9b39d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/configuring-playbook-bridge-appservice-discord.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ To [adjust room access privileges](#adjusting-room-access-privileges) or do vari

There's the Discord bridge's guide for [setting privileges on bridge managed rooms](https://github.com/Half-Shot/matrix-appservice-discord/blob/master/docs/howto.md#set-privileges-on-bridge-managed-rooms). To do the same with our container setup, run the following command on the server:

```
docker exec -it matrix-appservice-discord /bin/sh -c 'cp /build/tools/adminme.js /tmp/adminme.js && cp /cfg/registration.yaml /tmp/discord-registration.yaml && cd /tmp && node /tmp/adminme.js -c /cfg/config.yaml -r "!ROOM_ID:SERVER" -u "@USER:SERVER" -p 100'
```sh
docker exec -it matrix-appservice-discord \
node /build/tools/adminme.js -c /cfg/config.yaml -r /cfg/registration.yaml -m '!ROOM_ID:SERVER' -u '@USER:SERVER' -p 100
```


Expand Down

0 comments on commit c9b39d3

Please sign in to comment.