LYRASTORE
Lyra Admin · Staff

Discord bot

Your own bot: ranks from roles, staff picker and slash commands.

Set up

  1. discord.com/developers → New Application → Bot → Reset Token. Copy the token.
  2. On the same page turn on "Server Members Intent".
  3. In-game as owner: Lyra → Settings → Discord bot. Paste the token, invite the bot with the button, paste your Discord server ID.
  4. Map roles to ranks. Members with those roles get the rank in-game and on the web panel.

Slash commands

Registered automatically once the bot and the web panel are set up:

CommandWhat it doesPermission
/playersOnline players with their IDsplayers.view
/kick player reasonKick by server ID or namemod.kick
/ban player reason [duration]Ban (30m, 12h, 7d; empty = permanent)mod.ban
/reports [id]Open reports, or one report in detailreports.view

Commands use the rank of the Discord account (added in-game or by role), with the same hierarchy and audit log as the menu.

Log webhooks

lua
Config.Discord = {
    webhooks = {
        ['*'] = 'https://discord.com/api/webhooks/...',   -- every category
        moderation = 'https://discord.com/api/webhooks/...',
    },
}

Last updated 27 Oct 2026 by Lyra