---
title: 'Installation du Bot Matrix "ASMODEE"'
url: 'https://www.underworld.fr/blog/botmatrixasmodee'
markdown: 'https://www.underworld.fr/blog/botmatrixasmodee.md'
date: '2020-01-07'
description: 'OS : Debian10 Objectif : Installer le Bot "ASMODEE" pour [Matrix] . 1) Installati'
---

# Installation du Bot Matrix "ASMODEE"

## [Installation du Bot Matrix "ASMODEE"](https://www.underworld.fr/blog/botmatrixasmodee)

    7th Jan 2020  

OS : Debian10

Objectif : Installer le Bot "ASMODEE" pour \[Matrix\] .

### 1) Installation des prérequis Debian

apt install python3-pip git

### 2) Installation du SDK MATRIX

pip3 install matrix\_client requests html2text

### 3) installation de l’API pour le BOT

adduser --disabled-login botmatrix

su - botmatrix

cd

git clone https://github.com/shawnanastasio/python-matrix-bot-api.git

cd python-matrix-bot-api

su

python3 setup.py install

exit

### 4) Installation du BOT ASMODEE

cd

git clone https://git.ombreport.info/nemesis/asmodee\_matrix.git

cd asmodee\_matrix

### 5) Configuration du BOT ASMODEE

vi asmodee.ini

```
Exemple:
[AUTH]
username = totolebot
password = MonGrosPassword
server = https://mmonserveurmatrix.machin.truc
admin = @moi:mmonserveurmatrix.machin.truc
```

PS: il faut deja avoir créé un compte MATRIX pour le bot sur l’instance

### 6) Lancer le BOT

python3 asmodee.py

### 7) Utilisation

Une fois le Bot lancé, il existe en tant qu'utilisateur Matrix sur l'instance \[MATRIX\]. Il faut l'inviter dans le salon dans lequel vous souhaitez le voir travailler. Seul l'admin déclaré dans asmodee.ini peut administrer le Bot.

Commencez par lui dire "!help".

have fun!

#### Merci à [@nemesis:ombreport.info](https://riot.underworld.fr/#/user/@nemesis:ombreport.info)

```
Sources:
https://github.com/matrix-org/matrix-python-sdk
https://github.com/shawnanastasio/python-matrix-bot-api
https://git.ombreport.info/nemesis/asmodee_matrix
```

 [ Previous Post](https://www.underworld.fr/blog/ssl-cert-check) [Next Post ](https://www.underworld.fr/blog/jitsiturn)

---

## Navigation

- Parent: [MEMOs](https://www.underworld.fr/blog.md)
- Previous: [Jitsi-Meet avec CoTURN (pour le p2p)](https://www.underworld.fr/blog/jitsiturn.md)
- Next: [Surveillance de la date d'expiration d'un certificat SSL](https://www.underworld.fr/blog/ssl-cert-check.md)
