Bot Discord pour Rapberry Pi et machines à faible puissance
Find a file
2025-04-20 13:28:18 +02:00
assets Init 2025-04-20 13:09:19 +02:00
LICENSE Initial commit 2025-04-20 13:04:42 +02:00
main.py Init 2025-04-20 13:09:19 +02:00
README.md Actualiser README.md 2025-04-20 13:28:18 +02:00
settings.json Init 2025-04-20 13:09:19 +02:00

DiscordBot

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

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