Update README
More information about how to use the bot.
This commit is contained in:
parent
8d7019bd71
commit
568cfcaf4c
1 changed files with 17 additions and 0 deletions
17
README.md
17
README.md
|
@ -3,3 +3,20 @@
|
|||
A modular discord bot written in javascript, using the [discord.js](https://discord.js.org) library.
|
||||
|
||||
This is my second attempt at making a discord bot.
|
||||
|
||||
---
|
||||
|
||||
To use the bot:
|
||||
|
||||
```text
|
||||
git clone https://github.com/SileNce5k/discord_bot.git
|
||||
cd discord_bot
|
||||
npm install
|
||||
node server.js
|
||||
```
|
||||
|
||||
The first time you start the bot with `node server.js`, it will create a directory called data with a config.json file.
|
||||
In this file, enter your bot token.
|
||||
You can also enter a login message, channel and enable it.
|
||||
You can also change the global prefix.
|
||||
Every time you want to change something in this file, you have to restart the bot.
|
||||
|
|
Loading…
Add table
Reference in a new issue