Back to docs

Discord Bot

The LuaCrypt Discord bot allows you to manage keys, whitelist users, and control access — all from your Discord server.

Setup

Setting up the Discord bot takes less than a minute:

  • 1Click the invite link from your dashboard to add the bot to your server
  • 2Run /login with your API key (found in Dashboard → Settings)
  • 3Run /setpanel to create the user control panel in a channel
  • 4Run /setlogs to configure the logging channel

Commands

User Commands

/redeem <key>

Redeem a license key and link your Discord account.

/resethwid

Reset your HWID to bind your key to a new machine.

/myscripts

View your accessible scripts and get loadstring URLs.

/status

Check your key status, expiry, and linked HWID.

Admin Commands

/whitelist <user>

Manually whitelist a user for a specific project.

/unwhitelist <user>

Remove a user's whitelist access.

/blacklist <user>

Permanently blacklist a user from your projects.

/mass-whitelist <role>

Whitelist all members with a specific Discord role.

Management

/force-resethwid <user>

Override cooldown to reset a user's HWID.

/compensate <days>

Add days to all keys in a project (for downtime).

/givekey <user>

Grant a free key to a user for your project.

/revokekey <user>

Revoke a specific user's key.

Setup

/login <api_key>

Authenticate the bot with your LuaCrypt API key.

/setpanel <channel>

Set up the user control panel in a channel.

/setlogs <channel>

Configure the logging channel for bot actions.

/logout

Disconnect the bot from your account.

User Control Panel

The control panel provides an interactive interface for your users. They can click buttons to:

  • Redeem keys
  • Reset HWID
  • Get their script
  • Check key status

Required Permissions

The bot needs the following permissions: Send Messages, Embed Links, Read Message History, Manage Roles (for auto-role assignment), and Use Slash Commands. Admin commands are restricted to users with the "Manager" role in your server.