Your scripts
Everything you've protected.
| Name | Protection | Size | Uploaded |
|---|
1. Invite the bot
Invite link works once your bot application ID is saved (Settings, or first-time setup).
2. Bot API key
Paste this into bot.py (or set it as the LUAPROTECT_API_KEY environment variable). Never share it.
3. Run the bot
- Download bot.py below.
- Install Python 3.10+ and run pip install -U discord.py
- Fill in LUAPROTECT_BOT_TOKEN (from your bot application, Bot tab, Reset Token) and the API key above, then python bot.py.
- In Discord use /genkey to pick a duration and mint keys, and /loadstring to get the ready-to-paste loader for a script.
Make sure your Discord app has this OAuth2 redirect URL: https://luaprotect.pages.dev/auth/callback