Update README.md

This commit is contained in:
Techwizz-somboo 2022-01-08 20:20:41 -07:00 committed by GitHub
parent 04084939c7
commit 03699614d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,5 +18,5 @@ Note that Brown Town is still early in development. Things are bound to change.
### Using the bot in your server
Currently, I don't host the bot publicly for people to use however, you can host it yourself.
To do that, simply run change the discord token in the .env file (for example `nano .env`) to the token for the bot you created in the Discord developer portal.
To do that, simply create a new file named .env and add `CLIENT_TOKEN='YOUR-BOT-TOKEN` as text in the file replacing YOUR-BOT-TOKEN with the token of your bot you created in the Discord developer portal.
If you don't know how to create a bot in the Discord developer portal you can look it up, there are many guides. Next, you need to edit index.js, find the line that says const channelId and then change the ID there to your channel ID. Now simply run `node index.js` and then you're done.