DiscordBot/README.md

36 lines
742 B
Markdown
Raw Normal View History

2025-04-20 13:04:42 +02:00
# DiscordBot
2025-04-20 13:28:18 +02:00
Bot discord fait pour fonctionner sur des machines type Raspberry Pi 4, avec une AI et plusieurs autres fonctionnalités.
## Utilisation
Tout est paramètrable dans `settings.json`. Vous devez au moins y ajouter le token de vore bot et un model .gguf Llama. J'utilisais TinyLlama, mais Phi est sans doute mieux aujourd'hui.
## Fonctionnement
```mermaid
flowchart TD
lj{"Initialisation"}
init["Discord.py"]
c1["Commande 'uwu'"]
c2["Commande 'gif'"]
c3["Commande 'speak'"]
uwu["Uwuifie le texte"]
gif["Requête à Otaku API"]
speak["Llama"]
q["Queue"]
env["Envoie la réponse"]
lj --> init
init --> c1
init --> c2
init --> c3
c1 --> q
c2 --> q
c3 --> q
q --> uwu
q --> gif
q --> speak
uwu --> env
gif --> env
speak --> env
```