Black Friday Black Friday SALE: 40% off every resource until December 1. Shop the sale

Web dashboard

Set up the dashboard, sign in with Discord and change module settings per server.

On this page

The dashboard is a web page served by Talon itself. It changes the settings of every module per server, shows statistics, keeps an activity log and has an embed builder. It works on desktop, tablet and mobile.

Set it up#

  1. Make sure Dashboard.Enabled is true. It is by default.
  2. Set TALON_CLIENT_SECRET to the Client Secret from the OAuth2 page of your Discord application. TALON_CLIENT_ID is optional: when empty, Talon uses the ID of the bot.
  3. Set TALON_DASHBOARD_URL to the address you open the dashboard on, for example https://bot.example.com.
  4. In the developer portal, open OAuth2 and add the same address followed by /callback as a redirect, for example https://bot.example.com/callback. It must match exactly.
  5. Restart the bot and open the dashboard address.

The sign-in asks Discord for the scopes identify and guilds. Talon does not read anything else from the account.

Until Dashboard.ClientSecret is filled in, the dashboard shows a page called Finish the setup with the redirect address to add.

By default the dashboard only listens on 127.0.0.1 port 3000. For a public address, put it behind a reverse proxy with HTTPS, such as Nginx, Caddy or Nginx Proxy Manager, and keep TALON_DASHBOARD_HOST on 127.0.0.1. To reach the dashboard directly, set TALON_DASHBOARD_HOST to 0.0.0.0. The sign-in cookie only gets the Secure flag when Dashboard.URL starts with https.

Who can sign in#

Everyone can sign in with Discord, but a person only sees the servers where Talon is a member and where they have Manage Server. Server owners and the bot owners from OwnerIds see their servers too. A person who loses the permission loses access the next time a page loads.

A sign-in lasts 7 days. The sessions are kept in memory, so restarting Talon signs everyone out.

The pages#

Page What it does
Overview Six numbers (Members, Open tickets, Tickets this week, Moderation actions today, Commands today, Active giveaways) and the list of modules with a search box and category filters
Statistics Messages, members joined, commands used and tickets opened for 7, 30 or 90 days, with Export CSV
Embed builder Build, save, post and update messages. See below
Ticket history The last 100 tickets with status, rating and a link to the transcript
Activity log Every change made in the dashboard, newest first, kept for 90 days
A module The settings of that module for the server

The modules are in seven categories: Safety & moderation, Support, Community, Games & engagement, Automation, Integrations and Utility.

Changing module settings#

  1. Open a module from the list.
  2. Change the settings. The first switch, Enable followed by the module name, turns the module on or off for this server.
  3. Save. The page says Your changes were saved.

Reset to defaults deletes the saved settings of this module for the server, so the module file in config/modules applies again. Settings of the type JSON are shown after the simple settings. Every save and reset is added to the activity log with the names of the settings that changed.

The Welcome & leave module shows a live preview of the welcome image with your own avatar.

Statistics#

Talon counts from the moment it joins your server. All times are in UTC. Export CSV downloads talon-stats-<days>d.csv with a row for each day and metric, for 7, 30, 90 or 365 days.

Embed builder#

Build messages as Components V2 or as classic embeds. In Components V2 you stack bricks: cards with an accent color, text, sections with a thumbnail or button, image galleries, dividers and link buttons. Save drafts, post them in any channel and update every posted copy later. Import JSON accepts Discord message JSON, for example from Discohook. You can save up to 100 messages per server. Buttons and images need an https address.

Tickets and transcripts#

The ticket history links to the transcript of a closed ticket when the file still exists in data/transcripts. See Data and storage.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.