update documentation

This commit is contained in:
Simon Vieille 2022-01-31 15:09:16 +01:00
parent 7d1d2b6286
commit 48646c5740

View file

@ -5,11 +5,17 @@ Bot Matrix qui permet de jouer à Motus en message privé et sur un salon de dis
Il faut créer un compte destiné au robot puis :
```
git clone https://gitnet.fr/deblan/matrix-motus-bot.git
npm install
export MATRIX_URL='https://matrix.org'
export MATRIX_USERNAME='@username:matrix.org'
export MATRIX_PASSWORD='pa$wOrd'
export MATRIX_DATA='./datas' # non obligatoire
node index.js
$ git clone https://gitnet.fr/deblan/matrix-motus-bot.git
$ npm install
$ export MATRIX_URL='https://matrix.org'
$ export MATRIX_USERNAME='@username:matrix.org'
$ export MATRIX_PASSWORD='pa$wOrd'
$ # export MATRIX_DATA='./datas'
$ node index.js
```
Dans Element :
```
/join @username:matrix.org
```