Installation
To install this plugin, follow these steps:- Download the plugin files, put them in
/pluginsfolder. - Download the dependency ZDLibrary via GitHub.
- Join the discord server ( discord.gg/zerodev ) and create a ticket for license request.
- Paste the license key in
LICENSE_KEYfield in the config. - Restart AthenaBot via
npm startornode index.js.
Configuration
The configuration for Product Panel allows you to create interactive panels where users can view and purchase products.General Settings
LICENSE_KEY: Your plugin license key.always_use_web_api_downloads: If set totrue, the bot will provide download links via the Web API instead of as message attachments.
Creating Panels and Products
Panels are defined in thepanel_linking section. Each panel can contain multiple products.
- Type: Choose between
SELECT_MENU(dropdown) orBUTTONfor the interaction style. - Products: Add product entries inside the panel. Each must have a
roleID and aname.
Permissions
You can restrict who can use the/productpanel command or interact with buttons in the permissions section by setting them to a specific role name or everyone.