# Setup

{% stepper %}
{% step %}

### Run the setup (only discord server owner)

/kssetup - Connect the bot to your Junkie Dashboard using your API key from the dashboard.
{% endstep %}

{% step %}

### Create script panel

/setscript - Set up the script panel in your server.

1. Parameters:\
   \- service-name: Name of the service\
   \- provider-name: Name of the provider\
   \- hide-get-key: Hide the "Get Key" button from panel\
   \- embed-json: Customize embed content using JSON (<https://discohook.org/> can help)\
   \- message-id: Edit an existing panel\
   \- custom-script-response: Set custom loadstring response\
   \- script-id: Required when a service has multiple scripts
   {% endstep %}

{% step %}

### Bot customization

/customize avatar - Change bot's avatar\
/customize bio - Set bot's bio\
/customize nickname - Change bot's nickname\
/customize reset - Reset to defaults\
/customize view - View current settings
{% endstep %}

{% step %}

### Whitelisting (Staffs)

/whitelist add \<user/role> - Adds an user or role to the staff whitelist

/whitelist remove \<user/role> - Removes the user or tole from the staff whitelist

/whitelist list - Shows all whitelisted roles/users

{% hint style="info" %}
This allows the user/role to use staff commands like /generatekey, setscript, etc.
{% endhint %}
{% endstep %}

{% step %}

### Premium Whitelisting (Keysystem)

/whitelist premium-add \<user/role> \<service> \<duration-hours> - Adds an user to the premium whitelist

/whitelist premium-remove \<user/role> - Removes an user from the premium whitelist

/whitelist premium-list - Shows all whitelisted premium user/roles

{% hint style="info" %}
This allows key redeemtion on premium panels & automatic key generation in default panels (without ads)
{% endhint %}
{% endstep %}

{% step %}

### Key generation

/generatekey standard - Generate a standard key\
/generatekey premium - Generate a premium key\
/generatekey bulk-standard - Generate multiple standard keys\
/generatekey bulk-premium - Generate multiple premium keys
{% endstep %}

{% step %}

### HWID Management

/hwid config-set - Set HWID reset timing\
/hwid config-view - View reset timing\
/hwid reset - Reset a user's HWID (Staff)
{% endstep %}

{% step %}

### Role Management

/setroles setup - Set role to assign on key redemption\
/setroles remove - Remove role assignment\
/setroles toggle - Enable/disable role assignment\
/setroles view - View assigned role settings
{% endstep %}

{% step %}

### Informations

/info providers - Show number of providers\
/info services - Show number of services
{% endstep %}

{% step %}

### Other

/overview - View key system analytics\
/redeem-key - Redeem a license key
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jnkie.com/discord-bot/setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
