Compare commits

...

2 commits

Author SHA1 Message Date
fd2df7aee9
add steps on how to start with the bot 2022-06-06 11:30:25 +02:00
381077bc80
add script 2022-06-06 11:30:15 +02:00
2 changed files with 16 additions and 1 deletions

View file

@ -2,6 +2,21 @@
[**Ajoute le bot à ton serveur**](https://discord.com/api/oauth2/authorize?client_id=965598852407230494&permissions=8&scope=bot%20applications.commands) [**Ajoute le bot à ton serveur**](https://discord.com/api/oauth2/authorize?client_id=965598852407230494&permissions=8&scope=bot%20applications.commands)
## Lancer le bot
### En local
> Cloner le repo.
> Spécifier un fichier `.env` en suivant l'exemple [de l'exemple](example.env).
> Installer les dépendences du bot.
```bash
npm install
```
> Lancer le bot.
```bash
npm run main
```
--- ---
### Références ### Références

View file

@ -4,7 +4,7 @@
"description": "Bot discord", "description": "Bot discord",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "main": "node ."
}, },
"repository": { "repository": {
"type": "git", "type": "git",