mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-22 14:25:38 +01:00
Fixed formatting errors
This commit is contained in:
parent
d309a023c8
commit
5def1e8df5
@ -23,8 +23,11 @@ cd discord-bot
|
|||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
Create new JSON file for bot config with the following contents in the directory specified below:
|
Create new JSON file for bot config with the following contents in the directory specified below:
|
||||||
|
|
||||||
**For Development:** `./config/development.json`
|
**For Development:** `./config/development.json`
|
||||||
|
|
||||||
**For Production:** `./config/production.json`
|
**For Production:** `./config/production.json`
|
||||||
|
|
||||||
```JSON
|
```JSON
|
||||||
{
|
{
|
||||||
"logChannel": "",
|
"logChannel": "",
|
||||||
@ -32,6 +35,7 @@ Create new JSON file for bot config with the following contents in the directory
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
To get `logChannel`, type `\#YOUR_CHANNEL_NAME` in your Discord server chat.
|
To get `logChannel`, type `\#YOUR_CHANNEL_NAME` in your Discord server chat.
|
||||||
|
|
||||||
Copy string of numbers **after** `#` into `"logChannel": ""`
|
Copy string of numbers **after** `#` into `"logChannel": ""`
|
||||||
|
|
||||||
![](http://i.imgur.com/PdcXVCD.png)
|
![](http://i.imgur.com/PdcXVCD.png)
|
||||||
@ -41,9 +45,13 @@ Copy App Bot User token to `"clientLoginToken": ""`
|
|||||||
![](http://i.imgur.com/YTGZju9.png)
|
![](http://i.imgur.com/YTGZju9.png)
|
||||||
|
|
||||||
# Running Bot
|
# Running Bot
|
||||||
|
|
||||||
##### For Production
|
##### For Production
|
||||||
|
|
||||||
`./start.sh` Requires a config/production.json file.
|
`./start.sh` Requires a config/production.json file.
|
||||||
|
|
||||||
##### For Development
|
##### For Development
|
||||||
|
|
||||||
`node server.js` Requires a config/development.json file.
|
`node server.js` Requires a config/development.json file.
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
Loading…
Reference in New Issue
Block a user