update documentation
This commit is contained in:
parent
7d1d2b6286
commit
48646c5740
20
README.md
20
README.md
|
@ -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 :
|
Il faut créer un compte destiné au robot puis :
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://gitnet.fr/deblan/matrix-motus-bot.git
|
$ git clone https://gitnet.fr/deblan/matrix-motus-bot.git
|
||||||
npm install
|
$ npm install
|
||||||
export MATRIX_URL='https://matrix.org'
|
$ export MATRIX_URL='https://matrix.org'
|
||||||
export MATRIX_USERNAME='@username:matrix.org'
|
$ export MATRIX_USERNAME='@username:matrix.org'
|
||||||
export MATRIX_PASSWORD='pa$wOrd'
|
$ export MATRIX_PASSWORD='pa$wOrd'
|
||||||
export MATRIX_DATA='./datas' # non obligatoire
|
$ # export MATRIX_DATA='./datas'
|
||||||
node index.js
|
$ node index.js
|
||||||
|
```
|
||||||
|
|
||||||
|
Dans Element :
|
||||||
|
|
||||||
|
```
|
||||||
|
/join @username:matrix.org
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue