From 6448ecf7f5f14ad2bf56095bfdf72bc6562476ca Mon Sep 17 00:00:00 2001 From: "aiden@zuchtbude.de" Date: Sat, 8 Oct 2022 16:57:47 +0200 Subject: [PATCH] Improved instructions to bot inviting and added json type to config part --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ac0c86f..cc5c36f 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ Install dependencies npm i ``` -Edit Config -``` +Edit Config +```json { "token": "Bot Token", <-- enter your discord bot token here "ownerId": [], @@ -41,7 +41,7 @@ Edit Config "panel":{ <-- The panel information "allowRegistration": true, "url": "Your pterodactyl URL", - "applicationKey": "Your admin application key", + "applicationKey": "Your admin application key", "useragent": "pterobot" } } @@ -69,6 +69,7 @@ Start the bot ``` 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)) 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