Compare commits
2 commits
a76a59bc5c
...
fd2df7aee9
Author | SHA1 | Date | |
---|---|---|---|
fd2df7aee9 | |||
381077bc80 |
2 changed files with 16 additions and 1 deletions
15
README.md
15
README.md
|
@ -2,6 +2,21 @@
|
|||
|
||||
[**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
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"description": "Bot discord",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"main": "node ."
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in a new issue