FULL DISCORD.JS GUIDE : https://discordjs.guide/
You will need NodeJs 16.8.0+ to run BaptisteBot.
Try to create a discord server for testing before deploying to production.
BaptisteBot is a Node.js discord bot deployed to the cloud using this current repository's source code.
Any changes to the repository (using pull requests) will change the bot's behaviour instantly.
You don't have to handle environnement variables, dependencies or api keys.
To submit a change to baptiste bot, just submit a pull request on GitHub.
You can watch this 5 min video to understand pull requests on GitHub
-
Fork this repository.
-
Clone your repo.
-
Make your changes to a new branch and push to your forked repo.
-
Go back to your fork's repo. A green button will show "Submit Pull Request". Click it, add a description and submit your PR.
You can check the github docs by clicking here
-
Clone the repository (you will need NodeJs 16.8.0+ to run BaptisteBot).
-
Browse into the cloned repository.
-
Create a new file called
.env
- In this file, add the lineAPI_KEY=YOUR_API_KEY_HERE
. -
Run
npm i
. You only need to run this once per session. -
Run
npm start
. When the bot's ready to answer commands, the terminal will showPrêt
.
Vous aurez besoin de NodeJs 16.8.0+ pour faire fonctionner BaptisteBot.
Essayez de créer un serveur discord pour tester avant de déployer en production.
BaptisteBot est un bot discord Node.js déployé sur le cloud en utilisant le code source de ce dépôt actuel.
Toute modification apportée au dépôt (à l'aide de pull requests) changera le comportement du robot instantanément.
Vous n'avez pas à gérer les variables d'environnement, les dépendances ou les clés API.
Pour soumettre un changement au bot baptiste, il suffit de soumettre une pull request sur GitHub.
Vous pouvez regarder cette vidéo de 5 minutes pour comprendre les pull requests sur GitHub
-
Forkez ce repo.
-
Clonez votre repo.
-
Effectuez vos changements dans une nouvelle branche et poussez vers votre repo bifurqué.
-
Retournez sur le repo de votre fork. Un bouton vert affichera "Submit Pull Request". Cliquez dessus, ajoutez une description et soumettez votre PR.
Vous pouvez consulter la documentation de github en cliquant ici
-
Suivez ce guide pour installer un bot dans votre propre serveur discord
-
Clonez le repo (vous aurez besoin de NodeJs 16.8.0+ pour exécuter BaptisteBot).
-
Naviguez dans le repo cloné.
-
Créez un nouveau fichier appelé
.env
- Dans ce fichier, ajoutez la ligneAPI_KEY=Votre_API_KEY_HERE
. -
Exécutez
npm i
. Vous n'avez besoin de l'exécuter qu'une fois par session. -
Exécutez
npm start
. Lorsque le robot est prêt à répondre aux commandes, le terminal affichePrêt
.