Update README.md

Change `node server.js` to `npm start` because it's shorter and fasster
to type
This commit is contained in:
SileNce5k 2021-07-07 15:54:54 +02:00
parent ae85020836
commit 85baa09942
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -14,10 +14,10 @@ To use the bot:
git clone https://github.com/SileNce5k/discord_bot.git git clone https://github.com/SileNce5k/discord_bot.git
cd discord_bot cd discord_bot
npm install npm install
node server.js npm start
``` ```
The first time you start the bot with `node server.js`, it will create a directory called data with a config.json file. The first time you start the bot with `npm start`, it will create a directory called data with a config.json file.
In this file, enter your bot token. In this file, enter your bot token.
You can also enter a login message, channel and enable it. You can also enter a login message, channel and enable it.
You can also change the global prefix. You can also change the global prefix.