# Usage Guide for Autoscale Bot ## Command Prefixes The bot listens for the following prefixes: - `!hs` - `!headscale` ## User Commands | Command | Description | | ------- | ----------- | | `!hs create ` | Create a Headscale user | | `!hs discord ` | Link your Discord account to a Headscale user | | `!hs link ` | Register a device | | `!hs register` | Get the Tailscale registration command | | `!hs list` | List all nodes and their IPs | | `!hs rename ` | Rename your node | | `!hs info` | Show bot information | | `!hs ticket panel` | Post the ticket panel (admin only) | | `!hs ticket close` | Close a ticket (admin/support only) | | `!hs restart` | Restart the bot (admin only) | | `!hs update` | Check for a new version and update the bot | ## Admin Commands - `!hs addadmin @user` – Grant admin privileges (owner only) - `!hs removeadmin @user` – Revoke admin privileges (owner only) - `!hs listadmins` – List all admin users - `!hs deleteuser ` – Delete a Headscale user - `!hs removenode ` – Force‑remove a node - `!hs preauth ` – Generate a pre‑auth key ## Auto‑Updater The `!hs update` command triggers the auto‑updater. If a newer release is found on GitHub, the bot will: 1. Pull the latest code. 2. Install any new dependencies. 3. Restart itself. Make sure the bot has write permissions to its directory.