Format server player count in embed with commas
All checks were successful
Deploy Frontend / docker (17, 3.8.5) (push) Successful in 1m11s
All checks were successful
Deploy Frontend / docker (17, 3.8.5) (push) Successful in 1m11s
This commit is contained in:
parent
cb75a3a4c8
commit
46a0869b85
@ -103,7 +103,7 @@ export const generateMetadata = async ({
|
||||
); // Get the server to embed
|
||||
return Embed({
|
||||
title: `${capitialize(platform)} Server: ${server.hostname}`,
|
||||
description: `There are ${server.players.online}/${server.players.max} playing here!\n\nClick to view data about this server.`,
|
||||
description: `There are ${server.players.online.toLocaleString()}/${server.players.max.toLocaleString()} playing here!\n\nClick to view data about this server.`,
|
||||
thumbnail: (server as CachedJavaMinecraftServer).favicon?.url,
|
||||
});
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user