RBDhub Ticket Desk
Set up one private-ticket bot for a Discord server you manage.

Open the step-by-step walkthrough on the computer that will run the bot:
https://rbdhub.com/get-a-bot/starter/#run
It shows one step at a time and remembers your place in that browser.

1. Create a new application at https://discord.com/developers/applications and name it.
   In Installation, enable Guild Install. On the Bot page, choose Reset Token and copy it.
   You do not need Administrator, privileged intents or Developer Mode.

2. Extract every file into one folder. Use Python 3.10 or newer.
   Windows: double-click Start Ticket Desk.cmd, or run py -3 start.py.
   macOS / Linux: open a terminal in the extracted folder and run python3 start.py.
   Press Enter at an empty token prompt for help creating your bot.
   Paste the token at the hidden local prompt. Use the Discord window that opens
   to authorize Add to Server. Return to the launcher and confirm the server by name.
   Already installed? Pick the server from the list. On a headless machine, open
   the printed link in a browser. The bot stays online while this program runs.

3. In Discord, send /setup. In its private picker, choose the channel and staff role,
   then press Post ticket desk. The private confirmation links to the posted panel.
   Repeating setup in the same channel updates its panel. Try the button, then use
   /resolve in the private ticket. The conversation stays in the resolved channel.

Optional: run /workbench in Discord to open the RBDhub feature editor with channels
you and the bot can post in. Customize the ticket panel, download its settings file,
then attach it to /setup in Discord. You can override the channel and role in the command.
A starter downloaded from the feature editor includes its replies in ticket-settings.json.
Only server managers can share a directory or post a panel. Keep the directory within
your team. Local role and channel choices are rechecked by the bot when you post.
Existing /desk commands still work in the current channel.

Use a dedicated application. Keep the token on your computer. Server and panel choices
are kept in ticket-desk.sqlite3 next to the starter. Keep this file when upgrading or
moving the bot. Run a single copy per application. To run unattended, supply DISCORD_TOKEN
through your local environment. Set DISCORD_GUILD_ID only to explicitly select another
installed server. For the illustrated setup guide visit https://rbdhub.com/get-a-bot/starter/
