Dantevg/WebStats

Discord webhook integration

Dantevg opened this issue · 0 comments

(from draexo at the spigotmc WebStats thread)

Feature

Discord webhook that posts a (non-interactive) embed message with the top 10 (or so) sorted on a specified stat. Auto-update every minute (or so).

Implementation

Probably use inline fields. This has a problem: if there are too many columns or player names are too long, overflowing columns get put on a new row, breaking the visual connection to the player. Alternative is to use code blocks for monospaced manual table display.

image
(image from embed builder)

Resources