TO AVOID ISSUES WITH LICENSING PLEASE JOIN DISCORD BEFORE PURCHASING
Features
- Customizable Control Panels - Create multiple panels with different buttons for various operations
- Windows Task Scheduler Integration - Execute scheduled tasks via button clicks
- Role-Based Access Control - Restrict button access to specific Discord roles
- Action Logging - Log all button clicks to a designated channel with customizable embeds
- Custom Embeds - Full control over panel appearance with titles, descriptions, images, thumbnails, and colors
- Button Sections - Organize buttons into logical groups/sections within panels
- Command Output Logging - Optionally log command success/error output to Discord
- Config Mode - Enable config mode to set up panels without executing commands
Configuration
JavaScript:
module.exports = {
token: '', // Discord bot token
guildId: '', // Discord server ID
licenseKey: '', // Your license key
configMode: true, // Set to true to configure panels without executing commands
panels: [
{
name: 'panel_name', // Unique panel identifier
logChannelId: '123456789', // Channel ID for logging button clicks
message: {
content: '', // Optional text content above embed
embed: {
title: 'Panel Title', // Embed title
description: '```ansi\n[2;34mDescription[0m\n```', // Supports ANSI colors
image: { url: '', height: null, width: null },
thumbnail: { url: '', height: null, width: null },
color: '#00CC66', // Embed color (hex)
fields: [], // Optional embed fields
footer: 'Footer Text', // Embed footer
},
buttons: [
{
customId: 'button_id', // Unique button identifier
label: 'Button Label', // Button text
style: 'PRIMARY', // PRIMARY, SECONDARY, SUCCESS, DANGER
sectionName: 'Section', // Group buttons by section
emoji: '', // Optional emoji
allowedRoles: ['role_id'], // Role IDs that can use this button
disabled: false, // Disable the button
commands: {
arguments: [], // Command arguments
commands: ['schtasks /run /tn "TaskName"'], // Commands to execute
},
log: {
enabled: true, // Enable logging for this button
message: {
content: '{user}', // {user} = mention
embed: {
title: 'Action Title',
description: '```ansi\n[2;32m Action Description [0m\n```',
color: '#00FF00',
commandOutput: { success: true, error: true },
footer: 'Button clicked at',
},
},
},
},
// Add more buttons...
],
},
},
// Add more panels...
],
};
Configuration Settings
| Setting | Description ||---------|-------------|
|
token | Discord bot token ||
guildId | Discord server ID ||
licenseKey | Your license key ||
configMode | Set to true to configure panels without executing commands ||
panels | Array of control panel configurations ||
logChannelId | Channel ID where button click logs are sent ||
allowedRoles | Array of role IDs that can use the button ||
commands | Array of Windows commands/scheduled tasks to execute |
Button Styles
| Style | Description ||-------|-------------|
|
PRIMARY | Blue button ||
SECONDARY | Gray button ||
SUCCESS | Green button ||
DANGER | Red button |
Log Placeholders
| Placeholder | Value ||-------------|-------|
|
{user} | Mentions the user who clicked the button |
Notes
- This bot uses a JavaScript config file (config.js) instead of JSON
- Commands are executed on the Windows machine where the bot is running
- Use Windows Task Scheduler tasks for more complex operations
- Enable configMode when setting up panels to prevent accidental command execution
- Button sections help organize related actions together in the panel