Improved instructions to bot inviting and added json type to config part
This commit is contained in:
@@ -26,7 +26,7 @@ npm i
|
|||||||
```
|
```
|
||||||
|
|
||||||
Edit Config
|
Edit Config
|
||||||
```
|
```json
|
||||||
{
|
{
|
||||||
"token": "Bot Token", <-- enter your discord bot token here
|
"token": "Bot Token", <-- enter your discord bot token here
|
||||||
"ownerId": [],
|
"ownerId": [],
|
||||||
@@ -69,6 +69,7 @@ Start the bot
|
|||||||
```
|
```
|
||||||
|
|
||||||
You will need to add the bot to one of your servers
|
You will need to add the bot to one of your servers
|
||||||
|
Make sure that the bot is added also with `applications.commands` as scope
|
||||||
Next you type in `g/reload` or `gslashreload` into the console of your bot and hit enter (This will provision all the servers the bot is on with its slash commands (This can take a little while))
|
Next you type in `g/reload` or `gslashreload` into the console of your bot and hit enter (This will provision all the servers the bot is on with its slash commands (This can take a little while))
|
||||||
|
|
||||||
Once the slash commands are available, you can now use the `/register` command with the client key parameter, here you enter a client key to your account that you want to link with the bot
|
Once the slash commands are available, you can now use the `/register` command with the client key parameter, here you enter a client key to your account that you want to link with the bot
|
||||||
|
|||||||
Reference in New Issue
Block a user