{"id":30700725,"url":"https://github.com/papillonapp/erya","last_synced_at":"2025-09-06T19:05:51.300Z","repository":{"id":312483727,"uuid":"1047643363","full_name":"PapillonApp/Erya","owner":"PapillonApp","description":"Le bot Discord de Papillon 💚","archived":false,"fork":false,"pushed_at":"2025-08-30T23:09:27.000Z","size":61,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-31T00:21:38.517Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PapillonApp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-30T22:06:36.000Z","updated_at":"2025-08-30T23:38:39.000Z","dependencies_parsed_at":"2025-08-31T00:21:40.104Z","dependency_job_id":"25a6f420-5204-47b7-bd64-e3c81dd46605","html_url":"https://github.com/PapillonApp/Erya","commit_stats":null,"previous_names":["papillonapp/erya"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/PapillonApp/Erya","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapillonApp%2FErya","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapillonApp%2FErya/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapillonApp%2FErya/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapillonApp%2FErya/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PapillonApp","download_url":"https://codeload.github.com/PapillonApp/Erya/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PapillonApp%2FErya/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273446485,"owners_count":25107163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-02T12:48:54.034Z","updated_at":"2025-09-03T13:02:57.213Z","avatar_url":"https://github.com/PapillonApp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Erya](https://raw.githubusercontent.com/PapillonApp/Erya/refs/heads/main/.github/erya_banner_black.png)\n\n# À propos d'Erya\n\u003e Erya est le nouvel assistant intelligent du Discord de Papillon, doté d'IA pour t'accompagner et enrichir tes échanges !\n\u003e Tu peux contribuer à son développement via ce repository, où toutes les instructions sont disponibles.\n\n## 1 - Créer un serveur Discord pour son développement\n\n**Étape 1 -** Créer un serveur  \n**Étape 2 -** Invite le bot [Xenon](https://xenon.bot/invite) sur ce serveur (celui-ci va créer les rôles, les salons ainsi que les catégories nécéssaires au bon développement)  \n**Étape 3 -** Éxécute la commande ``/backup load backup_id: WOWK5VM2COT1`` dans ce serveur  \n\n\n## 2 - Créer une application sur Discord\n\n**Étape 1 -** Rend-toi sur [Discord Developer](https://discord.com/developers/applications)  \n**Étape 2 -** Clique sur \"New Application\"  \n**Étape 3 -** Appelle la \"**Erya Dev**\"  \n**Étape 4 -** Rends-toi dans la catégorie **Bot**  \n**Étape 5 -** Active **Presence Intent**, **Server Members Intent**, **Message Content Intent**  \n**Étape 6 -** Rends-toi dans la catégorie **OAuth2**  \n**Étape 7 -** Dans **OAuth2 URL Generator**, coche **bot** ainsi que **applications.commands**  \n**Étape 8 -** Dans **Bot permissions**, coche **Administrator**  \n**Étape 9 -** Copie-colle le lien que Discord t'a généré dans ton navigateur, puis ajoute le au serveur **Erya Dev Server**  \n\n\n## 3 - Cloner ce répository GitHub\n```bash\ngit clone https://github.com/PapillonApp/Erya.git\n```\n```bash\ncd Erya\n```\n```bash\nnpm install\n```\n\n\n## 4 - Configurer le bot\n\n**Étape 1 -** Rend-toi dans le fichier ``.env.example``  \n**Étape 2 -** Créer un fichier ``.env`` à la racine du projet  \n**Étape 3 -** Copie-colle le contenu de ``.env.example`` dans le ``.env`` que tu viens de créer  \n**Étape 4 -** Remplace dans le fichier ``.env`` toutes les valeurs par les tiennes : Token du bot, ID du serveur, des rôles, des catégories et des salons (**⚠️ NE PAS FAIRE CECI DANS LE .ENV.EXAMPLE**)\n\n\n## 5 - Lancer le bot en mode développement\nLe bot redémarrera automatiquement à chaque fois que tu sauvegardes un fichier !\n\n```bash\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpapillonapp%2Ferya","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpapillonapp%2Ferya","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpapillonapp%2Ferya/lists"}