Discord bot starter
Ship a licensed Discord bot in under 10 minutes. Meridian handles key validation, hardware locking, and auto-updates so you focus on commands.
discord.py snippet
import discord
from meridian import LicenseClient
client = LicenseClient(
app_id="YOUR_APP_ID",
product_key="USER_KEY"
)
@client.event
async def on_ready():
if not client.validate():
await client.close()
return
print(f"Logged in as {client.user}")
@client.event
async def on_message(message):
if message.author.bot:
return
await message.channel.send("pong")
client.run("DISCORD_TOKEN")Validate on start
Call client.validate() in on_ready. Invalid keys close the connection immediately.
Hardware lock
Meridian binds the key to the machine. No extra code required.