diff --git a/src/index.ts b/src/index.ts index 3330974..92eb9a7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,7 +22,7 @@ class App { this.client = await this.createDiscordClient(); try { const publisher = new DiscordPublisher(this.client, new FileBackedMapRepository(), { - playerCount: process.env.DISCORD_PUBLISHER_MESSAGE_FORMAT || '${playerCount}/${maxPlayers} $queuedPlayers', + playerCount: process.env.DISCORD_PUBLISHER_MESSAGE_FORMAT || '${playerCount}/${maxPlayers}', queuedPlayers: process.env.DISCORD_PUBLISHER_MESSAGE_QUEUED_FORMAT || '(+${queuedPlayers})', }); this.useCase = new ProvideGameStatus(providerFactory().build(), publisher);